floatscan: fix incorrect count of leading nonzero digits
this off-by-one error was causing values with just one digit past the decimal point to be treated by the integer case. in many cases it would yield the correct result, but if expressions are evaluated in excess precision, double rounding may occur.
Showing
想要评论请 注册 或 登录