Commit ce0f1dee authored by Ken Thompson's avatar Ken Thompson

change print(float) from 5 to 7 sig digits

R=r
OCL=16045
CL=16045
parent 7be2b9fd
......@@ -52,7 +52,7 @@ sys·printfloat(float64 v)
int32 e, s, i, n;
float64 h;
n = 5; // digits printed
n = 7; // digits printed
e = 0; // exp
s = 0; // sign
if(v != 0) {
......
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