Back to index

glibc  2.9
Functions
s_isinfl.c File Reference
#include "math.h"
#include "math_private.h"
#include <math_ldbl_opt.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 21 of file s_isinfl.c.

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