Skip to content
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
@NikVolf

Description

@NikVolf

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions