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
1 changed files with 1 additions and 1 deletions

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