News for hackers. Stuff that matters.
Re:Parsing floats in C++: benchmarking strtod vs. from_chars by SAI_Peregrinus on Thursday September 10, 2020 @06:30PM (#24437228)
The first example is incomplete: it forgets to clear and then check errno and/or check the returned value to +-HUGE_VAL! That'd probably slow down the strtod version a bit more.
Re:Parsing floats in C++: benchmarking strtod vs. from_chars by jwilk on Friday September 11, 2020 @10:42AM (#24443345)
strtod() could also return 0 on underflow.

But to be fair, the C++17 example doesn't check for underflow or overflow either.