-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.
Description
With rustc version 1.44.1, the following expression evaluates to minus infinity, instead of the correct value of approximately -18.7:
fn main() {
let x = (-67886600.94408971f64).asinh();
assert!(!x.is_infinite());
}Perhaps taking the absolute value of the first self in the implementation of asinh would make it more numerically stable?
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.