Skip to content

Latest commit

 

History

History
171 lines (169 loc) · 4.8 KB

Numeric-Entries.md

File metadata and controls

171 lines (169 loc) · 4.8 KB

TIReal

Section Subsection Section Offset Length Type Description Notes
Data Flags 0 1 FloatFlags Flags for the real number
  • If bit 1 is set, the number is undefined
  • If bits 2 and 3 are set and bit 1 is clear, the number is half of a complex number
  • If bit 6 is set, something happened
  • If bit 7 is set, the number is negative
Exponent 1 1 Integer The exponent of the real number
  • The exponent has a bias of 0x80
Mantissa 2 7 BCD The mantissa of the real number
  • The mantissa is 14 digits stored in BCD format, two digits per byte

TIComplex

Section Subsection Section Offset Length Type Description Notes
Data Real Flags 0 1 FloatFlags Flags for the real part of the complex number
  • Bits 2 and 3 are set
  • If bit 6 is set, something happened
  • If bit 7 is set, the part is negative
Real 0 9 TIReal The real part of the complex number
Real Exponent 1 1 Integer The exponent of the real part of the complex number
  • The exponent has a bias of 0x80
Real Mantissa 2 7 BCD The mantissa of the real part of the complex number
  • The mantissa is 14 digits stored in BCD format, two digits per byte
Imag Flags 9 1 FloatFlags Flags for the imaginary part of the complex number
  • Bits 2 and 3 are set
  • If bit 6 is set, something happened
  • If bit 7 is set, the part is negative
Imag 9 9 TIReal The imaginary part of the complex number
Imag Exponent 10 1 Integer The exponent of the imaginary part of the complex number
  • The exponent has a bias of 0x80
Imag Mantissa 11 7 BCD The mantissa of the imaginary part of the complex number
  • The mantissa is 14 digits stored in BCD format, two digits per byte