benilla-re systems structs docs

_atoflt

function · crt · orchestration

Address
0x40fecc · 45 bytes, up to 0x40fef8
Signature
int32_t __cdecl (float *out, char *text)
Meaning
Reads a numeral into a float through ___strgtold12 and _ld12tof
Confidence
verified, proof one
Finding
crt/strtod#the-scanf-float-assignment

Finding: The scanf float assignment in crt: reading numbers

_fassign(is_double, out, text) reads the text a scanf float conversion collected with ___strgtold12, no scale, and rounds it with _ld12tod into a double, or with _ld12tof straight into a float, one rounding from the 12-byte real. Nothing tests the answer: an overflow stores the infinity and a subnormal stores __ld12cvt's subnormal bits.

The derivation is in the doc.

Callers 1

Callees 2

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