Closed
Description
For example:
julia> N63f1(prevfloat(2.0^64))
1.8446744073709548e19N63f1
julia> N63f1(2.0^64)
9.223372036854776e18N63f1
The overflow itself occurs here.
FixedPointNumbers.jl/src/normed.jl
Lines 94 to 95 in 3f12729
However, this is essentially problem with the typemax
.
julia> 2.0^64 > typemax(N63f1) # clearly `2^64` is out of range
true
I already know that we have this kind of problem, and in fact I have added the special handling for the cases of N0f64
and Float16
.
I forgot about this issue, but the tests on ARM seem to "correctly" fail in this regard.
Metadata
Metadata
Assignees
Labels
No labels