Back to index

glibc  2.9
Functions
s_fabsl.c File Reference
#include "math.h"
#include "math_private.h"
#include <math_ldbl_opt.h>

Go to the source code of this file.

Functions

long double __fabsl (long double x)
 long_double_symbol (libm, __fabsl, fabsl)

Function Documentation

long double __fabsl ( long double  x)

Definition at line 32 of file s_fabsl.c.

{
       u_int64_t hx, lx;
       GET_LDOUBLE_WORDS64(hx,lx,x);
       lx = lx ^ ( hx & 0x8000000000000000LL );
       hx = hx & 0x7fffffffffffffffLL;
       SET_LDOUBLE_WORDS64(x,hx,lx);
       return x;
}
long_double_symbol ( libm  ,
__fabsl  ,
fabsl   
)