8000 Update stdlib/src/math.rs · RustPython/RustPython@ee05a75 · GitHub
[go: up one dir, main page]

Skip to content

8000 Commit ee05a75

Browse files
hbinayouknowone
andauthored
Update stdlib/src/math.rs
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
1 parent 594a330 commit ee05a75

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

stdlib/src/math.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,17 +1009,4 @@ mod math {
10091009
}
10101010
}
10111011

1012-
#[test]
1013-
fn fma_negative_zero() {
1014-
let tiny = 1e-300;
1015-
assert!(libm::fma(tiny, tiny, 0.0).is_sign_positive());
1016-
// TODO: RUSTPYTHON incompatibility between fma inside libc and musl
1017-
// assert!(libm::fma(tiny, -tiny, 0.0).is_sign_negative());
1018-
assert!(libm::fma(-tiny, -tiny, 0.0).is_sign_positive());
1019-
// TODO: RUSTPYTHON incompatibility between fma inside libc and musl
1020-
// assert!(libm::fma(-tiny, tiny, 0.0).is_sign_negative());
1021-
assert!(libm::fma(tiny, tiny, -0.0).is_sign_positive());
1022-
assert!(libm::fma(tiny, -tiny, -0.0).is_sign_negative());
1023-
assert!(libm::fma(-tiny, -tiny, -0.0).is_sign_positive());
1024-
assert!(libm::fma(-tiny, tiny, -0.0).is_sign_negative());
10251012
}

0 commit comments

Comments
 (0)
0