Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no Float::to_bits() #129

Open
nestordemeure opened this issue Aug 31, 2019 · 1 comment
Open

no Float::to_bits() #129

nestordemeure opened this issue Aug 31, 2019 · 1 comment

Comments

@nestordemeure
Copy link

Primitive floats types have a to_bits method that is however not implemented by the Float trait.

The one difficulty is that, in the standard implementations, the number of bits of the output differs from one type to another (32 for f32 and 64 for f64).

@oshaboy
Copy link

oshaboy commented Dec 22, 2024

I am doing NaN boxing stuff and I also need this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants