Implementing strtold.