Hacker News new | ask | show | jobs
by Affric 389 days ago
For non-associativity what is the best way to order operations? Is there an optimal order for precision whereby more similar values are added/multiplied first?

EDIT: I am now reading Goldberg 1991

Double edit: Kahan Summation formula. Goldberg is always worth going back to.

1 comments

Herbie can optimize arbitrary floating point expressions for accuracy

https://herbie.uwplse.org/