f32/64::asinh() should return -0.0 for -0.0 #63271
Labels
C-bug
Category: This is a bug.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Currently, both of the following return false:
However, in other languages like C,
asinh(-0.0)
would always return-0.0
. We might need another fast case for 0.0 and -0.0 here:rust/src/libstd/f64.rs
Lines 833 to 839 in f01b9f8
The text was updated successfully, but these errors were encountered: