1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Use GCC builtins for lrint functions if desired.

This patch is using the corresponding GCC builtin for lrintf, lrint,
lrintl and lrintf128 if the USE_FUNCTION_BUILTIN macros are defined to one
in math-use-builtins-function.h.

Co-Authored-By: Xi Ruoyao <xry111@xry111.site>
This commit is contained in:
Xiaolin Tang
2022-11-23 11:44:56 +08:00
committed by caiyinyu
parent 948652e4f8
commit 2b23ab1fea
6 changed files with 43 additions and 17 deletions

View File

@@ -161,6 +161,8 @@
#define USE_COPYSIGNL_BUILTIN USE_COPYSIGNF128_BUILTIN
#undef USE_FMAL_BUILTIN
#define USE_FMAL_BUILTIN USE_FMAF128_BUILTIN
#undef USE_LRINTL_BUILTIN
#define USE_LRINTL_BUILTIN USE_LRINTF128_BUILTIN
/* IEEE function renames. */
#define __ieee754_acoshl __ieee754_acoshf128