Ld12Real
struct · crt · 12 bytes
- Meaning
- Holds a 12-byte real: a 16-bit extension, a 64-bit mantissa and the sign over a 15-bit exponent
- Confidence
- verified, proof one
- Finding
- crt/decimal#the-12-byte-real
Finding: The 12-byte real in crt: decimal digits
Three helpers work on the 96 bits of a 12-byte real as one integer, the low word first:
0x411070 adds two of them, the carry out of the top dword dropped; 0x4110ce shifts left by one
and 0x4110fc right by one, a zero coming in. ___addl adds two dwords into a third and returns
the carry.
The derivation is in the doc.
Fields 3
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 2 | uint16_t | ext | Holds the 16 bits below the mantissa | verified, proof one | crt/decimal#the-12-byte-real |
0x0002 | 8 | uint64_t | mantissa | Holds the 64-bit mantissa | verified, proof one | crt/decimal#the-12-byte-real |
0x000a | 2 | uint16_t | exponent | Holds the sign bit over the exponent biased by 0x3fff | verified, proof one | crt/decimal#the-12-byte-real |
Globals of this type
0x832490s_tenPowers0x8325f0s_tenNegPowers