Re:Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)? ...
by robzyb on Thursday March 27, 2014 @09:22AM
(#7480176)
But what about the accuracy of the error bounds?
[ Parent
| on HN ]
Re:Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)? ...
by pascal_cuoq on Thursday March 27, 2014 @10:04AM
(#7480421)
It is easy to track the real result of the computation with floating-point intervals: round down when computing the lower bound, and up when computing the upper bound of each interval.