MSB may be cleared in conversion from `BigFloat` on ARM
kimikage opened this issue · comments
kimikage commented
julia> BigFloat(typemax(UInt64))|>N63f1 # x86-64 / i686
1.8446744073709552e19N63f1
julia> BigFloat(typemax(UInt64))|>N63f1 # Aarch64 / ARMv7
9.223372036854776e18N63f1
Originally posted by @kimikage in #200 (comment)
The following workaround is harmful to BigFloat
.
FixedPointNumbers.jl/src/normed.jl
Lines 330 to 333 in 3f12729