Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 823 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 823 Bytes

jnumbers library

jnumbers is an open-source Java library having a single goal: Faster number parsing and Faster number formatting than Java standard classes:

  • Short.parseInt(String)
  • Integer.parseInt(String)
  • Long.parseInt(String)
  • Float.parseDouble(String)
  • Double.parseDouble(String)
  • NumberFormat / DecimalFormat classes ...

Note: accuracy of Double/Float parsing is not as good as JDK (1/2 ulp) but is correct (and enough for all-purposes) ~ 2 ulps (ie 5e-16 relative error)

Latest release: https://github.com/bourgesl/jnumbers/releases/latest

License

jnumbers is provided under the Simplified BSD license.

See LICENSE

Documentation

Documentation on how to use the library is available in the [wiki] https://github.com/bourgesl/jnumbers/wiki