JuliaMath / JuliaMath/Float8s.jl

0xff NaN converted to 0

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
22
Forks
7
PR merge metrics
No merged PRs in 30d

Description

just found this
```julia
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.