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
IEEE 754-2008 or IEEE 754-1985? #74
Comments
For context:
Maybe I should have filed on rust-lang/rust instead. But I'd prefer if the documentation was adjusted to |
Another interesting link (also about MIPS, not talking about the other CPUs): https://dmz-portal.imgtec.com/wiki/MIPS_ABI_-_NaN_Interlinking |
IEEE 754-2008's sNaN encoding is a "should", not a "shall", so there's no hard requirement. I encourage Rust to reference the 2008 spec (and the 2018 spec once it's finalized). |
As I see no definitive proof that Rust is not a priori portable to MIPs nor that MIPs cannot impl the 2008 spec, and that the constexpr float libraries impl the 2008 spec, I don't think there's anything to actually change here? I think the best place for these kinds of questions would be IRC, or on the internals forum should you want it on a linkable record or nobody is answering. |
Currently the reference says:
Now is it legal per the reference to port Rust to to platforms that don't implement IEEE 754-2008 but only IEEE 754-1985, and which can deviate in their floating implementation from IEEE 754-2008? Some MIPS platforms come to my mind that implement signaling NaNs differently.
The text was updated successfully, but these errors were encountered: