Back to index

glibc  2.9
Functions
s_fabsf.c File Reference
#include "math.h"
#include "math_private.h"

Go to the source code of this file.

Functions

float __fabsf (float x)

Function Documentation

float __fabsf ( float  x)

Definition at line 30 of file s_fabsf.c.

{
       u_int32_t ix;
       GET_FLOAT_WORD(ix,x);
       SET_FLOAT_WORD(x,ix&0x7fffffff);
        return x;
}