Sciweavers

PLDI
2015
ACM

Automatically improving accuracy for floating point expressions

8 years 5 days ago
Automatically improving accuracy for floating point expressions
Scientific and engineering applications depend on floating point arithmetic to approximate real arithmetic. This approximation introduces rounding error, which can accumulate to produce unacceptable results. While the numerical methods literature provides techniques to mitigate rounding error, applying these techniques requires manually rearranging expressions and understanding the finer details of floating point arithmetic. We introduce Herbie, a tool which automatically discovers the rewrites experts perform to improve accuracy. Herbie’s heuristic search estimates and localizes rounding error using sampled points (rather than static error analysis), applies a database of rules to generate improvements, takes series expansions, and combines improvements for different input regions. We evaluated Herbie on examples from a classic numerical methods textbook, and found that Herbie was able to improve accuracy on each example, some by up to 60 bits, while imposing a median performan...
Pavel Panchekha, Alex Sanchez-Stern, James R. Wilc
Added 16 Apr 2016
Updated 16 Apr 2016
Type Journal
Year 2015
Where PLDI
Authors Pavel Panchekha, Alex Sanchez-Stern, James R. Wilcox, Zachary Tatlock
Comments (0)