-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
float parser #14
Comments
Note that the C# equivalent has such functions ( |
I have now refactord the code a bit, and added a new class FastFloatParser. It should do now what you want. 😅
|
Thanks @wrandelshofer - I'll try it out over next few days |
I'll close this - so far, looks good to me - thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi - thanks for all the great work on the double parser. I've been experimenting with it for possible inclusion in jackson-core.
Parsing floats using the double parser is also much faster than using Float.parseFloat but unfortunately casting doubles to floats can often give you different result from plain Float.parseFloat.
Would it be possible to consider also supporting a dedicated float parser?
An example is 7.006492321624086e-46 which Float.parseFloat returns as 1.4E-45 but using FastDoubleParser:
The text was updated successfully, but these errors were encountered: