Giter Club home page Giter Club logo

Comments (5)

stevengj avatar stevengj commented on July 28, 2024

Got it at least loading with 0.3, but have some kind of weird corruption that I can't figure out in 0.3:

julia> using DecFP
julia> d"1.0"
+140734667966048E-398
julia> reinterpret(Uint64, d"1.0")
0x0000000000000000

Something has apparently changed with how bitstype is handled? (cc: @vtjnash)

I'm not sure it's actually worth it. I can just make this package require Julia 0.4.

from decfp.jl.

vtjnash avatar vtjnash commented on July 28, 2024

it's quite possible the ccall fixes changed the calling convention for Dec128, depending on what the system you are on

from decfp.jl.

stevengj avatar stevengj commented on July 28, 2024

But why would this affect Dec64 (on 64-bit MacOS X)?

from decfp.jl.

vtjnash avatar vtjnash commented on July 28, 2024

nvm, it shouldn't i just skimmed the code too quickly.

unrelated note: cglobal (like ccall) is a compile-time intrinsic, so it is zero-cost to copy it to each usage site (perhaps in macro form @flags to reduce typing?) instead of putting it in __init__

from decfp.jl.

PallHaraldsson avatar PallHaraldsson commented on July 28, 2024

Just close, since "it only works with 0.4, which is not really acceptable" is just no longer true..

from decfp.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.