-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Implement {float}::asin_acos(), {float}::asin(), and {float}::acos() #48
Conversation
Due to the tests for this PR hitting an obscure bug relating to |
Huzzah for test coverage! Cross referencing rust-lang/rust#73328 for upstream information about A concrete example for posterity: fn main() {
let bits : u32 = 0x7f8d9fa6; // some negative signaling (x86/ARM) NaN
let f = f32::from_bits(bits);
assert_eq!(bits, f.to_bits()); // will fail, now equal to 0x7fcd9fa6
} And some annotated disassembly of f32::from_bits:
(EDIT: And a discussion thread for posterity too: https://discord.com/channels/273534239310479360/335502453371961344/746445211260944444) |
whoops forgot about this. we good here? |
Believe so :)
…On Thu, Aug 27, 2020, 7:51 PM Lokathor ***@***.***> wrote:
whoops forgot about this.
we good here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYXH26CEN2KG7NCTOUKYTSC4LT5ANCNFSM4QHRXXCA>
.
|
Fixes #44