~/talk

Generating Correctly Rounded Math Libraries for New Floating Point Variants

Talkat POPL 2021 · 2021-01-17..01-22· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Generates polynomials that approximate the correctly rounded value (not the real value) and encodes coefficient constraints as an LP-formulated constraints system solved by an LP solver; uses MPFR 2000-bit oracle to get exact rounded targets and a generator called rLibm generator to build native math libraries. Produces correctly rounded results for all inputs for Bfloat16 and Posit16 elementary functions, exposes a double-rounding bug in repurposed libs (millions of wrong cases), and yields CPU speedups of ~1.3–2.0× versus repurposed float/double libs.

AI-written summary · about

  1. 0:00Start
  2. 1:40Important Requirements for Math Libraries
  3. 1:59Math Libraries Should Be Efficient
  4. 4:41Minimax Approximation Method
  5. 5:46Range Reduction
  6. 11:38Special Case Inputs
  7. 12:43Rounding Interval
  8. 17:28Generate a Polynomial Approximation
  9. 24:41Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.