Home | History | Annotate | Line # | Download | only in gdtoa
      1 /* $NetBSD: gd_qnan.h,v 1.2 2011/01/17 23:53:03 matt Exp $ */
      2 
      3 #include <machine/endian.h>
      4 
      5 #define f_QNAN 0x7fa00000
      6 #if BYTE_ORDER == BIG_ENDIAN
      7 #define d_QNAN0 0x7ff40000
      8 #define d_QNAN1 0x0
      9 #define ld_QNAN0 0x7fff8000
     10 #define ld_QNAN1 0x0
     11 #define ld_QNAN2 0x0
     12 #define ld_QNAN3 0x0
     13 #else
     14 #define d_QNAN0 0x0
     15 #define d_QNAN1 0x7ff40000
     16 #define ld_QNAN0 0x0
     17 #define ld_QNAN1 0x0
     18 #define ld_QNAN2 0x0
     19 #define ld_QNAN3 0x7fff8000
     20 #endif
     21