1
0
mirror of https://github.com/golang/go synced 2024-11-25 09:17:57 -07:00

change print(float) from 5 to 7 sig digits

R=r
OCL=16045
CL=16045
This commit is contained in:
Ken Thompson 2008-09-27 13:33:50 -07:00
parent 7be2b9fdf6
commit ce0f1dee6f

View File

@ -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) {