17 Jan
2024
17 Jan
'24
11:12 a.m.
Under which conditions would this happen? Could you please provide an example?
With arbitrary precision floats, e.g. GMP's mpf_t, it is not uncommon to dump the representation to char* using mpf_get_str. Say it had 1100 digits of what would be a 128-bit subnormal number then you would hit this edge case.
I see. Out of curiosity, what makes the parsing algorithm fail such that you need to call strtold?