[libc-commits] [libc] [libc][math] Adding LIBC_MATH_ASSUME_ROUND_NEAREST_ONLY option (PR #201154)
Hoàng Minh Thiên via libc-commits
libc-commits at lists.llvm.org
Wed Jun 10 07:09:33 PDT 2026
hmthien050209 wrote:
As talked to @lntue, we've agreed to rename the option to `LIBC_MATH_ASSUME_ROUND_NEAREST_ONLY` to better represent the behavior of this option, and integrate this into `LIBC_MATH_FAST`
My local tests (including MPFR test suites) pass when enabling this option **only**. But, with `LIBC_MATH_FAST`, there are some failing tests because of results from us differs from the MPFR results. I suspect existing inaccuracies, as when excluding `LIBC_MATH_ASSUME_ROUND_NEAREST_ONLY` from `LIBC_MATH_FAST`, there is a failure rate of 0.55% on local test suites.
Please take a look on this.
https://github.com/llvm/llvm-project/pull/201154
More information about the libc-commits
mailing list