|
|
|
|
|
by jacobolus
2428 days ago
|
|
Some algorithms guarantee that some arithmetic operation(s) applied to 2+ floating point inputs will result in a list of floating point outputs which when summed have exactly the correct result. This gets all screwed up if you mess with the order of operations or the rounding of intermediate results. e.g. https://www.cs.cmu.edu/~quake/robust.html Some keywords to look for: “compensated arithmetic”, “error-free transformations”. FMAs generally speed up these tools, but you need to be careful and deliberate about how they are used. (Disclaimer: I am not an expert on this, just some guy on the internet.) |
|