1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43: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

@ -0,0 +1,4 @@
#define USE_LRINT_BUILTIN 0
#define USE_LRINTF_BUILTIN 0
#define USE_LRINTL_BUILTIN 0
#define USE_LRINTF128_BUILTIN 0