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 8235bd3 commit 03a3208Copy full SHA for 03a3208
src/lib.rs
@@ -1904,6 +1904,8 @@ pub(crate) mod test {
1904
assert!(z.powc(Complex64::new(10., INFINITY)).is_nan());
1905
assert!(z.powc(Complex64::new(INFINITY, INFINITY)).is_nan());
1906
assert!(close(z.powc(Complex64::new(INFINITY, 0.)), z));
1907
+ assert!(z.powc(Complex64::new(-1., 0.)).re.is_infinite());
1908
+ assert!(z.powc(Complex64::new(-1., 0.)).im.is_nan());
1909
}
1910
1911
#[test]
0 commit comments