benilla-re systems structs docs

s_floatConversions

global · crt

Address
0x82f3f8 · 24 bytes, up to 0x82f40f
Type
void *[6]
Meaning
Holds _cfltcvt and its helpers, which 0x409a29 stores over the file values, all _fptrap
Confidence
verified, proof one
Finding
crt/printf#the-conversion-slots

Finding: The conversion slots in crt: formatted output

The start-up fills the slots the floating-point paths call through: 0x82f3f8 _cfltcvt (0x40b7fe), 0x82f3fc _cropzeros (0x40b4a8), 0x82f400 _fassign (0x40b50e), 0x82f404 _forcdecpt (0x40b44e), 0x82f408 0x40b4f6, and 0x82f40c _cfltcvt again. Their file values are all _fptrap (0x410425), which ends the process with runtime error 2. __cinit calls __fpmath through 0x82f274 before the initializer tables, and __fpmath fills the slots first.

The derivation is in the doc.