mirror of
https://github.com/golang/go
synced 2024-11-24 04:50:07 -07:00
17dc712c18
Float32 and Float64 are now both created by taking the ratio of two integers which are chosen to fit entirely into the precision of the desired float type. The previous code could cast a Float64 with more than 23 bits of ".99999" into a Float32 of 1.0, which is not in [0,1). Float32 went from 15 to 21 ns/op (but is now correct). Fixes #6721. R=golang-dev, iant, rsc CC=golang-dev https://golang.org/cl/22730043 |
||
---|---|---|
.. | ||
cmd | ||
lib9 | ||
libbio | ||
liblink | ||
libmach | ||
pkg | ||
all.bash | ||
all.bat | ||
all.rc | ||
clean.bash | ||
clean.bat | ||
clean.rc | ||
make.bash | ||
make.bat | ||
Make.dist | ||
make.rc | ||
race.bash | ||
race.bat | ||
run.bash | ||
run.bat | ||
run.rc | ||
sudo.bash |