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

@ -37,5 +37,6 @@
#include <math-use-builtins-fmax.h>
#include <math-use-builtins-fmin.h>
#include <math-use-builtins-fabs.h>
#include <math-use-builtins-lrint.h>
#endif /* MATH_USE_BUILTINS_H */