]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] math, runtime: use a NaN that matches gcc's
authorShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:54:29 +0000 (05:54 +1000)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:54:29 +0000 (05:54 +1000)
commit39a284198038dd7d2aa41d3218635be44147f1aa
treec931cd7f5c0e268036aaeb024e92e0197ba33d9e
parentc469cb7c5d27967036c76add18bc69cacfaa6205
[release-branch.go1] math, runtime: use a NaN that matches gcc's

««« backport 1f62df249175
math, runtime: use a NaN that matches gcc's
        our old choice is not working properly at least on VFPv2 in
ARM1136JF-S (it's not preserved across float64->float32 conversions).

        Fixes #3745.

R=dave, rsc
CC=golang-dev
https://golang.org/cl/6344078

»»»
src/pkg/math/all_test.go
src/pkg/math/bits.go
src/pkg/runtime/float.c