1 2 3 4 5 6 7 8 9 10 11
#include <math.h> #include <math_ldbl_opt.h> double __fabs (double x) { return __builtin_fabs (x); } weak_alias (__fabs, fabs) #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) compat_symbol (libm, __fabs, fabsl, GLIBC_2_0); #endif