Why does String.to_integer/1 give strange results with with some values?

That this is not the default is a little crazy to me.