-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Just found this
julia> Float8(0.015)
Float8(0.0625)
julia> Float8(0.02)
Float8(0.015625)although 0.015 <= 0.02 that's not true after conversion. Problem only occurs for subnormals. It's not the conversion back to Float32 (triggered by show):
julia> bitstring(Float8(0.015))
"00000100"
julia> bitstring(Float8(0.02))
"00000001"Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working