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:
4
sysdeps/generic/math-use-builtins-lrint.h
Normal file
4
sysdeps/generic/math-use-builtins-lrint.h
Normal 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
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user