We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 029e755 commit 3703672Copy full SHA for 3703672
src/float.rs
@@ -2282,7 +2282,7 @@ mod tests {
2282
}
2283
2284
#[test]
2285
- #[cfg(any(feature = "std", feature = "libm"))]
+ #[cfg(any(feature = "std", feature = "libm"))]
2286
fn copysign() {
2287
use float::Float;
2288
test_copysign_generic(2.0_f32, -2.0_f32, f32::nan());
@@ -2309,6 +2309,7 @@ mod tests {
2309
assert!(nan.copysign(n).is_sign_negative());
2310
2311
2312
2313
fn test_copysign_generic<F: ::float::Float + core::fmt::Debug>(p: F, n: F, nan: F) {
2314
assert!(p.is_sign_positive());
2315
assert!(n.is_sign_negative());
0 commit comments