Back to index

glibc  2.9
s_isnanl.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.


int __isnanl (long double x)

Function Documentation

int __isnanl ( long double  x)

Definition at line 32 of file s_isnanl.c.

       int32_t se,hx,lx;
       se = (se & 0x7fff) << 1;
       /* The additional & 0x7fffffff is required because Intel's
          extended format has the normally implicit 1 explicit
          present.  Sigh!  */
       lx |= hx & 0x7fffffff;
       se |= (u_int32_t)(lx|(-lx))>>31;
       se = 0xfffe - se;
       return (int)((u_int32_t)(se))>>16;