You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- FAIL: TestEncoder (0.00s)
encoder_test.go:18:
Error Trace: encoder_test.go:18
Error: Not equal:
expected: 0x15f8f
actual : 0xffffffff
Test: TestEncoder
FAIL
The reason seems to be that float64 to uint32 doesn't wrap around on ARM CPU
float64 to uint64 and then to uint32 can pass the test: uint32(uint64(float64(a)))
The text was updated successfully, but these errors were encountered:
This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.
Test succeeds on x86 CPU, but fails on ARM CPU
--- FAIL: TestEncoder (0.00s)
encoder_test.go:18:
Error Trace: encoder_test.go:18
Error: Not equal:
expected: 0x15f8f
actual : 0xffffffff
Test: TestEncoder
FAIL
The reason seems to be that float64 to uint32 doesn't wrap around on ARM CPU
float64 to uint64 and then to uint32 can pass the test: uint32(uint64(float64(a)))
The text was updated successfully, but these errors were encountered: