|
When I approximated e^(x/scale) on an interval not in [-1,1], I used the very conservative approximation [0,3^(x/scale)]. But I forgot to correct for the scale, since (make_ratintvl 0 (expt (expt 3 (ceiling->exact maxsri)) scale))Think about why I used ceiling->exact here, instead of ceiling. ceiling is typically used to produce an integer as an approximation to a real. But my code here is using the integer as a rigorous upper bound. As a value it is not exact, but as an upper bound it is.
Mike O'D. |
to: