]> Cypherpunks repositories - gostls13.git/commit
1. got 29 (Mpscale) more bits of precision
authorKen Thompson <ken@golang.org>
Sat, 17 Jul 2010 23:32:40 +0000 (16:32 -0700)
committerKen Thompson <ken@golang.org>
Sat, 17 Jul 2010 23:32:40 +0000 (16:32 -0700)
commit95b93c28e395e4ea88ad831e87736c7ef75eb734
tree43c5876da81ebac87ddc4a74769d893b7af29a65
parentb693847ea8de7fb87dca00eff357488674ce39ad
1. got 29 (Mpscale) more bits of precision
out of floating constant multiply
2. added rounding code to "const fix=float"
to allow up to 29 (Mpscale) bits of
slop and still get an exact fixed constant.

fixes #931

R=rsc
CC=golang-dev
https://golang.org/cl/1692055
src/cmd/gc/mparith1.c
src/cmd/gc/mparith2.c
src/cmd/gc/mparith3.c