Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent Rust from constant folding in FPU test
The operations were done at compile time, so the floating point operations didn't end up in the binary - even debug ones! This commit wraps all the relevant floating point values in a `black_box` which prevents the compiler from "seeing" the values, so it emits proper FPU instructions in all cases. fixes #21
- Loading branch information