benilla-re systems structs docs

s_indText

global · crt

Address
0x8003ec · 6 bytes, up to 0x8003f1
Type
char[6]
Meaning
Holds 1#IND, the digits I10_OUTPUT writes for the negative indefinite 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.