Closed
Description
I'm still trying to figure out what was wrong with #48, and I'd like another pair of eyes on this because I have no idea what is going on.
I added an implementation of arbitrary_float!
again, and ran the tests. Only the arm-unknown-linux-gnueabi target failed. So I grab the arguments that made the test fail and put them into a regular test. On the next build, the test passes because we're actually getting the right answer in this case. It's gcc_s and compiler-rt that have the wrong answer.
Either:
- There's some subtle bug in the test infrastructure
- gcc_s and libcompiler-rt both have the same bug but we don't despite the code being almost identical to compiler-rt
- QEMU is broken but only in this specific way
- The C compiler's optimizations cause rounding in very small numbers, but rustc does not
- Something else?
Metadata
Metadata
Assignees
Labels
No labels