Home | History | Annotate | Line # | Download | only in gdtoa
gd_qnan.h revision 1.1.16.1
      1  1.1.16.1  christos /* $NetBSD: gd_qnan.h,v 1.1.16.1 2019/06/10 22:05:17 christos Exp $ */
      2       1.1      matt 
      3  1.1.16.1  christos /*
      4  1.1.16.1  christos  * The RISC-V Instruction Set Manual Volume I: User-Level ISA
      5  1.1.16.1  christos  * Document Version 2.2
      6  1.1.16.1  christos  *
      7  1.1.16.1  christos  * 8.3 NaN Generation and Propagation
      8  1.1.16.1  christos  *
      9  1.1.16.1  christos  * The canonical NaN has a positive sign and all significand bits clear except
     10  1.1.16.1  christos  * the MSB, aka the quiet bit.
     11  1.1.16.1  christos  */
     12  1.1.16.1  christos 
     13  1.1.16.1  christos #define f_QNAN 0x7fc00000
     14       1.1      matt #define d_QNAN0 0x0
     15  1.1.16.1  christos #define d_QNAN1 0x7ff80000
     16  1.1.16.1  christos #define ld_QNAN0 0x0
     17  1.1.16.1  christos #define ld_QNAN1 0x0
     18  1.1.16.1  christos #define ld_QNAN2 0x0
     19  1.1.16.1  christos #define ld_QNAN3 0x7fff8000
     20