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