Back to index

glibc  2.9
Functions
s_isinfl.c File Reference
#include "math.h"
#include "math_private.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int __isinfl (long double x)

Function Documentation

int __isinfl ( long double  x)

Definition at line 23 of file s_isinfl.c.

{
       int32_t se,hx,lx;
       GET_LDOUBLE_WORDS(se,hx,lx,x);
       /* This additional ^ 0x80000000 is necessary because in Intel's
          internal representation of the implicit one is explicit.  */
       lx |= (hx ^ 0x80000000) | ((se & 0x7fff) ^ 0x7fff);
       lx |= -lx;
       se &= 0x8000;
       return ~(lx >> 31) & (1 - (se >> 14));
}