There was an error while loading. Please reload this page.
format!("{}", num::complex::Complex64::new(1.0, -0.0)) should yield 1+0i or 1-0i as result but instead 1+-0i is returned which is a mistake.
format!("{}", num::complex::Complex64::new(1.0, -0.0))
1+0i
1-0i
1+-0i
Here, real part is taken as 1 for demonstration purposes only.