Printing floating-point numbers quickly and accurately with integers

@inproceedings{Loitsch2010PrintingFN,
  title={Printing floating-point numbers quickly and accurately with integers},
  author={Florian Loitsch},
  booktitle={PLDI '10},
  year={2010}
}
  • Florian Loitsch
  • Published in PLDI '10 2010
  • Computer Science
  • We present algorithms for accurately converting floating-point numbers to decimal representation. [...] Key Method Our second algorithm improves on the first one by using the additional bits to produce a shorter (often the shortest) result. Finally we propose a third version that can be used when the shortest output is a requirement. The last algorithm either produces optimal decimal representations (with respect to shortness and rounding) or rejects its input. For IEEE 754 double-precision numbers and 64-bit…Expand Abstract
    11 Citations
    Printing floating-point numbers: a faster, always correct method
    • 5
    • PDF
    An Always Correct Method
    • 2016
    • Highly Influenced
    Printing Floating-Point Numbers An Always Correct Method
    • Highly Influenced
    • PDF
    Ryū revisited: printf floating point conversion
    • Ulf Adams
    • Computer Science
    • Proc. ACM Program. Lang.
    • 2019
    • 1
    Basic Properties and Algorithms
    Ryū: fast float-to-string conversion
    • 2
    Infra: structure all the way down: structured data as a visual programming language
    • 2
    • PDF
    Abstraction in technical computing
    • 11
    Rethinking the human-readability infrastructure
    • C. Hall
    • Computer Science
    • FPW@SPLASH
    • 2015
    Number Parsing at a Gigabyte per Second
    • PDF

    References

    SHOWING 1-6 OF 6 REFERENCES
    Printing floating-point numbers quickly and accurately
    • 38
    • Highly Influential
    • PDF
    Contributions to a proposed standard for binary floating-point arithmetic (computer arithmetic)
    • 28
    • Highly Influential
    An implementation guide to a proposed standard for floating-point arithmetic
    • 48
    • Highly Influential
    • PDF
    Special Feature an Implementation Guide to a Proposed Standard for Floating-Point Arithmetic
    • 53
    • Highly Influential
    • PDF
    What Every Computer Scientist Should Know About Floating-Point Arithmetic
    • 1,411
    • Highly Influential
    The Art of Computer Programming, Volume II: Seminumerical Algorithms
    • 1,604
    • Highly Influential