Printing Floating-Point Numbers: A Faster, Always Correct Method
Floating-point numbers are an essential part of modern software, recently gaining particular prominence \r\non the web where floating- point numbers are the exclusive numeric format in Javascript. To use floating point numbers, we require a way to convert the binary machine representations into decimal human readable outputs. Existing conversion algorithm make trade-offs between completeness and performance. The classic Dragon4 algorithm by Steele and White and its later refinements achieve completeness – i.e. produce correct and optimal outputs on all inputs – by using arbitrary precision integer (bignum) arithmetic which leads to a high performance cost. On the other hand, the recent Grisu algorithm by Loitsch shows how to recover performance by using native integer arithmetic but sacrifices optimality for 0.5% of all inputs. We present Errol, a new complete algorithm that is guaranteed to produce correct and optimal results for all inputs, while simultaneously being 2x faster than Grisu and 8x faster than previous complete methods. We formalize and describe Errol and present an implementation and experimental evaluation of our method against the state-of-the-art.
Thu 21 JanDisplayed time zone: Guadalajara, Mexico City, Monterrey change
16:30 - 17:45 | |||
16:30 25mTalk | SMO: An Integrated Approach to Intra-Array and Inter-Array Storage Optimization Research Papers Somashekaracharya G Bhaskaracharya Indian Institute of Science and National Instruments, Uday Bondhugula Indian Institute of Science, Albert Cohen INRIA Media Attached File Attached | ||
16:55 25mTalk | PolyCheck: Dynamic Verification of Iteration Space Transformations on Affine Programs Research Papers Wenlei Bao , Sriram Krishnamoorthy Pacific Northwest National Laboratories, Louis-Noël Pouchet Ohio State University, Fabrice Rastello INRIA, France, P. Sadayappan Ohio State University Media Attached | ||
17:20 25mTalk | Printing Floating-Point Numbers: A Faster, Always Correct Method Research Papers Marc Andrysco University of California, San Diego, Ranjit Jhala University of California, San Diego, Sorin Lerner University of California, San Diego Media Attached |