Comments (5)
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.
it's quite possible the ccall fixes changed the calling convention for Dec128, depending on what the system you are on
from decfp.jl.
But why would this affect Dec64
(on 64-bit MacOS X)?
from decfp.jl.
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.
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)
- Comparison with Irrational HOT 1
- parse() Complex HOT 2
- Build error HOT 6
- disable InexactError for runtime parsing HOT 3
- export sigexp()
- Comparison with Integer
- Rounding when parsing strings HOT 6
- Doesn't precompile on 1.5.0-beta1 (or 1.6) HOT 6
- tag 1.0? HOT 4
- missing BigFloat conversions
- hash(T(Inf)) broken with current Julia master HOT 7
- TagBot trigger issue HOT 12
- SpecialFunctions.logabsgamma return type changed HOT 2
- support precision(x; base) in Julia 1.8
- use new Printf.tofloat interface (vs ini_dec/fix_dec)
- BigFloat construction from DecXX
- use per-task (not per-thread) flags, rounding mode, etcetera?
- Serialization broken after change to primitive types
- Use Requires.jl for SpecialFunctions? HOT 2
- the way DecFP decomposes converted floats is unpredictable HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decfp.jl.