Back to index

lightning-sunbird  0.9+nobinonly
s_isnan.c File Reference
#include "fdlibm.h"

Go to the source code of this file.


int fd_isnan (double x)

Function Documentation

int fd_isnan ( double  x)

Definition at line 62 of file s_isnan.c.

        fd_twoints u;
       int hx,lx;
        u.d = x;
       hx = (__HI(u)&0x7fffffff);
       lx = __LO(u);
       hx |= (unsigned)(lx|(-lx))>>31;    
       hx = 0x7ff00000 - hx;
       return ((unsigned)(hx))>>31;

Here is the caller graph for this function: