This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
Avoid unsafe transmuting ints to floats #18
Closed
Description
This can lead to the hardware trap, see
rust-lang/rust#39271
rust-lang/rust#40470
Until the feature float_bits_conv
reaches stable, we should use the same logic while converting instead of just transmuting
Metadata
Metadata
Assignees
Labels
No labels