benilla-re systems structs docs

__fassign

function · crt · orchestration

Address
0x40b50e · 62 bytes, up to 0x40b54b
Signature
void __cdecl (int32_t is_double, void *out, char *text)
Meaning
Reads a scanf float text into a double or straight into a float, the answer unread
Confidence
verified, proof one
Name from
the community database (idb)
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 0

None by a direct call or jump.

Callees 2

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