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 20 of file s_isinfl.c.

{
       int64_t hx,lx;
       GET_LDOUBLE_WORDS64(hx,lx,x);
       lx |= (hx & 0x7fffffffffffffffLL) ^ 0x7fff000000000000LL;
       lx |= -lx;
       return ~(lx >> 63) & (hx >> 62);
}