]> Cypherpunks repositories - gostls13.git/commit
math, runtime: use a NaN that matches gcc's
authorShenghou Ma <minux.ma@gmail.com>
Tue, 7 Aug 2012 01:57:14 +0000 (09:57 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 7 Aug 2012 01:57:14 +0000 (09:57 +0800)
commit6e9506a7b45958665c3f48deecc8555f3ee2c42b
tree4cc2d8f39f001caf2b5e78b6483f3a22ebc21a33
parent41645847b4f5187c088149f1177e8a3fc7d1f373
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