_atodbl
function · crt · orchestration
- Address
0x40fe71· 45 bytes, up to0x40fe9d- Signature
int32_t __cdecl (double *out, char *text)- Meaning
- Reads a numeral into a double through ___strgtold12 and _ld12tod
- 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
- __fassign crt
Callees 2
- _ld12tod crt
- ___strgtold12 crt
Calls and jumps by a bare address, from tables/calls.tsv.