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:
@@ -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
|
||||
|
Reference in New Issue
Block a user