~/talk

Implementation and Synthesis of Math Library Functions

Talkat POPL 2024 · 2024-01-14..01-20· [compilers-and-language-design]
links:none on file
name:Yash Lad
links:none on file
links:none on file
slides:none on file

A domain specific language called MegaLibm implements, tests, and tunes exp sin log etc by embedding semantic types and semantic wellformedness checks that call out to tools like Sollya and type-directed synthesis, compiling down to C and running in Jupyter for interactive tuning. The system reproduces 8 implementations with comparable speed and accuracy, synthesizes 5 faster/more accurate variations and 3 from‑scratch implementations, supports range reduction, Horner/Estrin tradeoffs, and catches real bugs in existing libs.

AI-written summary · about

  1. 0:00The challenges of math libs
  2. 2:55The motivation for MegaLibm
  3. 5:15The core design of MegaLibm
  4. 8:48Advanced range reduction
  5. 11:23Compilation and workflow
  6. 15:16Q&A session
~/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.