[libc-commits] [libc] [libc][math] Optimize nearest integer functions using builtins when available (PR #98376)
via libc-commits
libc-commits at lists.llvm.org
Thu Jul 11 12:12:57 PDT 2024
================
@@ -0,0 +1,9 @@
+float try_builtin_ceilf(float x) { return __builtin_ceilf(x); }
+float try_builtin_floorf(float x) { return __builtin_ceilf(x); }
----------------
overmighty wrote:
Oops, `try_builtin_floorf` checks for `__builtin_ceilf`.
https://github.com/llvm/llvm-project/pull/98376
More information about the libc-commits
mailing list