3 ms·
strtod() could also return 0 on underflow. But to be fair, the C++17 example doesn't check for underflow or overflow either.
by jwilk 6y ago
strtod() could also return 0 on underflow.
But to be fair, the C++17 example doesn't check for underflow or overflow either.