Open
Description
In various circumstances, -0 has an extra plus sign appended where it should not:
use num::complex::Complex;
fn main() {
println!("{}", Complex::new(-0.0, -0.0));
println!("{:+}", Complex::new(-0.0, -0.0));
}-0+-0i
+-0+-0i
Metadata
Metadata
Assignees
Labels
No labels
Activity