-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add missing tryinto instances for integer types to floats #877
Comments
Is it something like this? and how is it different than this integer-> float implementation? |
I also think more Dividable instances can be added for fixed integer types and single/doubles. |
Hold off on this. I want reconsider our approach to division. |
Im curious to hear your thoughts. Haskell, OCaml, Elm, are kind of sloppy about it imho; Rust is very explicit about casts/conversions/ Probably not a discussion for this issue, but if we want to make division/numbers nicer within the context of this issue, then additional instances will be needed. |
I think Rust has the right approach. I want to make all of addition, multiplication, subtraction, and division The stdlib should only define operations in the form of I also want to remove the |
No description provided.
The text was updated successfully, but these errors were encountered: