go/src/internal
Roland Shoemaker 63bd6f68e6 internal/fuzz: fix TestUnmarshalMarshal on MIPS
Previous value used in the float32 roundtrip used float32(math.NaN())-1
which caused the quiet/signal bit to flip, which seemed to break the
test on MIPS platforms. Instead switch to using float32(math.NaN())+1,
which preserves the bit and makes the test happy.

Possibly related to #37455
Fixes #51258

Change-Id: Ia85c649e89a5d02027c0ec197f0ff318aa819c19
Reviewed-on: https://go-review.googlesource.com/c/go/+/390214
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Roland Shoemaker <roland@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-03-07 15:02:48 +00:00
..
abi all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
buildcfg internal/buildcfg: enable the pacer redesign by default 2021-11-04 20:00:54 +00:00
bytealg all: remove more leftover // +build lines 2021-11-06 10:24:44 +00:00
cfg cmd/go: set go.work path using GOWORK, and remove -workfile flag 2022-02-16 15:58:47 +00:00
cpu all: remove more leftover // +build lines 2021-11-06 10:24:44 +00:00
execabs internal/execabs: replace ioutil.WriteFile with os.WriteFile 2021-04-12 21:57:23 +00:00
fmtsort all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
fuzz internal/fuzz: fix TestUnmarshalMarshal on MIPS 2022-03-07 15:02:48 +00:00
goarch all: manual fixups for //go:build vs // +build 2021-10-28 22:38:00 +00:00
godebug net/netip: add new IP address package 2021-11-02 01:28:01 +00:00
goexperiment runtime: break out new minimum heap size into a goexperiment 2021-12-02 18:02:46 +00:00
goos all: manual fixups for //go:build vs // +build 2021-10-28 22:38:00 +00:00
goroot all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
goversion internal/goversion: update Version to 1.19 2022-02-28 22:24:58 +00:00
intern all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
itoa all: add internal/itoa package 2021-03-14 17:56:50 +00:00
lazyregexp
lazytemplate all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
nettrace internal/nettrace: fix spelling error 2022-02-04 20:20:02 +00:00
obscuretestdata
oserror
pkgbits cmd/compile: represent derived types with ir.DynamicType in unified IR 2022-03-07 13:47:51 +00:00
poll all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
profile all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
race
reflectlite all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
singleflight all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
syscall all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
sysinfo
testenv testenv: kill subprocess if SIGQUIT doesn't do it 2021-12-12 14:36:20 +00:00
testlog
trace all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
unsafeheader all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
xcoff