fmt
This commit is contained in:
parent
e6371c9379
commit
8958967fd4
1 changed files with 0 additions and 2 deletions
|
|
@ -1066,7 +1066,6 @@ pub fn libm() {
|
|||
assert_eq!((-1f32).powf(f32::NEG_INFINITY), 1.0);
|
||||
assert_eq!((-1f64).powf(f64::NEG_INFINITY), 1.0);
|
||||
|
||||
|
||||
assert_eq!(0f32.powi(10), 0.0);
|
||||
assert_eq!(0f64.powi(100), 0.0);
|
||||
assert_eq!(0f32.powi(9), 0.0);
|
||||
|
|
@ -1490,7 +1489,6 @@ fn test_non_determinism() {
|
|||
test_operations_f64(19., 11.);
|
||||
test_operations_f128(25., 18.);
|
||||
|
||||
|
||||
// SNaN^0 = (1 | NaN)
|
||||
ensure_nondet(|| f32::powf(SNAN_F32, 0.0).is_nan());
|
||||
ensure_nondet(|| f64::powf(SNAN_F64, 0.0).is_nan());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue