Fast and exact implementation of the C++ from_chars functions.
