We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cabfb0b commit 70b5c57Copy full SHA for 70b5c57
src/float.rs
@@ -2304,7 +2304,7 @@ mod tests {
2304
}
2305
2306
#[test]
2307
- #[cfg(any(feature = "std", feature = "libm"))]
+ #[cfg(any(feature = "std", feature = "libm"))]
2308
fn copysign() {
2309
use float::Float;
2310
test_copysign_generic(2.0_f32, -2.0_f32, f32::nan());
@@ -2331,6 +2331,7 @@ mod tests {
2331
assert!(nan.copysign(n).is_sign_negative());
2332
2333
2334
2335
fn test_copysign_generic<F: ::float::Float + core::fmt::Debug>(p: F, n: F, nan: F) {
2336
assert!(p.is_sign_positive());
2337
assert!(n.is_sign_negative());
0 commit comments