Skip to content

Draft: fix tests for log2_approx and log2_approx64

Thomas Schlichter requested to merge fix_log2_approx_tests into develop
  • skip the test log2_approx.complete when using ctest
    • this test takes too much time to run
  • fix test log2_approx64.boundaries
    • The test was actually never executed correctly (unsigned -10 is never <= 10), and log2_approx64_ref() was not accurate enough.
    • Therefore replace it by directly comparing one value above and one value below each rounding boundary.
  • add test log2_approx.boundaries

Merge request reports

Loading