mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +00:00
3fa6d3f003
This test examines the result of converting math.NaN() to a fixed byte string. Change it to use a specific NaN value instead, since the value returned by math.NaN is specified only as being a NaN, not a specific one. Use specific float32 and float64 NaN values, since the result of converting a float64 NaN to a float32 can and does vary. Fixes test failure on ARM. Change-Id: Ia1517fdba768cdd88e5ee5f5af37f0b481e651b4 Reviewed-on: https://go-review.googlesource.com/c/162117 Reviewed-by: Herbie Ong <herbie@google.com> |
||
---|---|---|
.. | ||
pack_test.go | ||
pack.go |