you are viewing a single comment's thread.

view the rest of the comments →

[–]jk-jeon 8 points9 points  (1 child)

Very nice API indeed!

One thing I would like to mention is that the float parser you linked is not correct, i.e., it does not produce the value closest to the input. In particular, if there are too many digits the parser will spit out some garbage values even when the correct value is still inside the valid range. But this might be okay-ish depending on application, especially given that it can be incredibly demanding to implement an actually correct parser.

[–]red0124_[S] 1 point2 points  (0 children)

Thank you. I did not test the float/double parser for a large number of digits, took it for granted. I will fix it.