Treat a single zero as decimal rather than octal
When a single zero is pasted, it is treated as an octal and when the leading zero is removed it results in nan.
The deleted case (tmp.str_length() < 2) can only occur when tmp_str==0
Sorry about the other request, I opened that with my master branch and wasn't able to rebase it or change the source.