Commit 375b1e2a authored by Rob Pike's avatar Rob Pike

output of fmt has changed for %g

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=19909
CL=19909
parent 6c4d8f83
......@@ -52,7 +52,7 @@ func main() {
E(f.s("\tf ").f64(1234.5678e-8), "\tf 0.000012");
E(f.s("\tf ").f64(-7.0), "\tf -7.000000");
E(f.s("\tf ").f64(-1e-9), "\tf -0.000000");
E(f.s("\tg ").g64(1234.5678e3), "\tg 1234567.8");
E(f.s("\tg ").g64(1234.5678e3), "\tg 1.2345678e+06");
E(f.s("\tg ").g64(1234.5678e-8), "\tg 1.2345678e-05");
E(f.s("\tg ").g64(-7.0), "\tg -7");
E(f.s("\tg ").g64(-1e-9), "\tg -1e-09");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment