Quadmath.jl
Quadmath.jl copied to clipboard
Float128 and libquadmath for the Julia language
The following two inputs result in the same number, i.e. `x === y`: x = parse(Float128,"1e-33") y = parse(Float128,"1.00000000000000000000000000000000005e-33") But they are displayed as `1.00000000000000000000000000000000005e-33`. Shouldn't the policy be to...
On Windows (but not Linux or OSX) calls to `fma()` somehow break the overflow handling. ```julia julia> h, x = floatmax(Float128), Float128(1) julia> h + h inf julia> fma(x,x,x); julia>...
I'm not sure what you are doing with the local version of `@ccall`. I'd like to add some functions via PR. I know how to do it this way: ```...
On a Power9 machine: ``` julia> using DoubleFloats [ Info: Precompiling DoubleFloats [497a8b3b-efae-58df-a0af-a86822472b78] ERROR: LoadError: ccall: could not find function __floatsitf in library libgcc_s.so.1 Stacktrace: [1] Quadmath.Float128(::Int32) at /home/vchuravy/.julia/packages/Quadmath/6EO4T/src/Quadmath.jl:144 [2]...
Seemingly works now on 64-bt ARM at least on macOS #55
``` julia> Quadmath.Float128(NaN) nan julia> Quadmath.Float128(Inf) inf ``` it gets worse ``` julia> Quadmath.Float128(nan) ERROR: UndefVarError: `nan` not defined in `Main` Suggestion: check for spelling errors or missing imports. Stacktrace:...
This has been happening when I mix use of Float128 and BigFloat. I do not have an example that recreates the error. There is a path in function Float128(x::BigFloat) that...
The README says ARM is unsupported and 32-bit untested. At least for Apple M series ARM this seems to be out of date. (It looks like Github's CI runners for...
```julia julia> using Quadmath julia> x = Float128(1.3) 1.30000000000000004440892098500626162e+00 julia> floor(Int, x) 1 julia> ceil(Int, x) 2 julia> round(Int, x) ERROR: MethodError: no method matching round(::Float128, ::RoundingMode{:Nearest}) This error has...