How should I compute the maximum absolute and relative error of the following IEEE-754 floating-point expression?
a.y + (x - a.x) * ((b.y - a.y) / (b.x - a.x))
Also, we assume, that
- the optimizer leaves the expression in the specified form
- the default rounding mode (round to nearest even)