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

How to convert to f32 and f64 numeric types #56

Closed
cactusdualcore opened this issue Apr 18, 2022 · 1 comment
Closed

How to convert to f32 and f64 numeric types #56

cactusdualcore opened this issue Apr 18, 2022 · 1 comment

Comments

@cactusdualcore
Copy link

Other crates may expect numbers of types f32 or f64. Does a way exist to convert a Fraction to a f64 without using a string as an intermediate representation?

@cactusdualcore
Copy link
Author

Found ToPrimitive implementation

@cactusdualcore cactusdualcore changed the title checked conversion to f32 and f64 numeric types How to convert to f32 and f64 numeric types Apr 18, 2022
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

1 participant