benilla-re systems structs docs

__fpmath

function · crt · orchestration

Address
0x409a11 · 23 bytes, up to 0x409a27
Signature
void __cdecl (void)
Meaning
Fills the conversion slots through 0x409a29, then calls __ms_p5_mp_test_fdiv and __setdefaultprecision
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.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.