Implementing custom strtod, fail on some cases [ci skip]