s_qnanText
global · crt
- Address
0x8003dc· 7 bytes, up to0x8003e2- Type
char[7]- Meaning
- Holds 1#QNAN, the digits I10_OUTPUT writes for a quiet NaN
- Confidence
- verified, proof one
- Finding
- crt/decimal#zeros-and-non-finite-values
Finding: Zeros and non-finite values in crt: decimal digits
I10_OUTPUT(ld, ndigits, flags, fos) writes the digits of an 80-bit real into fos with the sign
- for a set sign bit, else a space. Exponent and mantissa both zero give the digit 0, exponent
0 and the sign a space, and return 1. Exponent 0x7fff gives exponent 1 and returns 0, with the
digits 1#INF for the mantissa 0x8000 << 48, 1#IND for a set sign and the mantissa
0xc000 << 48, 1#SNAN for any other mantissa with bit 62 clear, and 1#QNAN for the rest.
The derivation is in the doc.