Float8s.jl icon indicating copy to clipboard operation
Float8s.jl copied to clipboard

0xff NaN converted to 0

Open milankl opened this issue 3 years ago • 0 comments

just found this

julia> Float8_4(0xff)
NaN8_4

julia> Float32(Float8_4(0xff))
0.0f0

julia> Float8(0xff)
NaN8

julia> Float32(Float8(0xff))
0.0f0

Which obv shouldn't happen.

milankl avatar Feb 08 '23 17:02 milankl