Easy Accurate Reading and Writing of Floating-Point Numbers

@article{Jaffer2013EasyAR,
  title={Easy Accurate Reading and Writing of Floating-Point Numbers},
  author={Aubrey Jaffer},
  journal={CoRR},
  year={2013},
  volume={abs/1310.8121}
}
Presented here are algorithms for converting between (decimal) scientific-notation and (binary) IEEE-754 double-precision floating-point numbers. By employing a rounding integer quotient operation these algorithms are much simpler than those previously published. The values are stable under repeated conversions between the formats. Unlike Java-1.8, the scientific representations generated use only the minimum number of mantissa digits needed to convert back to the original binary values. 
Recent Discussions
This paper has been referenced on Twitter 4 times over the past 90 days. VIEW TWEETS

From This Paper

Figures, tables, and topics from this paper.

Citations

Publications citing this paper.

References

Publications referenced by this paper.
Showing 1-9 of 9 references

Burger and R . Kent Dybvig . Printing Floating - point Numbers Quickly and Accurately

  • G. Robert

Clinger . How to Read Floating Point Numbers Accurately

  • D. William
  • SIGPLAN Not

Jon L . White . How to Print Floating - point Numbers Accurately

  • Guy L. Steele

Matula . In - and - out Conversions

  • W David
  • Commun . ACM

Similar Papers

Loading similar papers…