Back to index

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

Go to the source code of this file.

Functions

int __isinfl (long double x)

Function Documentation

int __isinfl ( long double  x)

Definition at line 20 of file s_isinfl.c.

{
       int32_t se,hx,lx;
       GET_LDOUBLE_WORDS(se,hx,lx,x);
       lx |= (hx & 0x7fffffff) | ((se & 0x7fff) ^ 0x7fff);
       lx |= -lx;
       se &= 0x8000;
       return ~(lx >> 31) & (1 - (se >> 14));
}