-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
fix machine type equality #1376
Comments
If we do this then the line |
Yes, i can see this issue. On the other hand it stops me from exporting core::f64|f32 math as core::float depending on architecture. I'm not vested in any particular solution to this as long as there is one. |
brson: that risk is already present with declarations like |
We agreed to go for this now, unless strong objections are raised. |
float, int, uint should be equal to their machine type equivalents. This is currently not the case and originally was the reason for the introduction of trivial casts. Now that these are gone, this needs fixing, i.e.
let f: float = fXY::sin(1.0)
should compile.
The text was updated successfully, but these errors were encountered: