|
From: Petr M. <mi...@ph...> - 2006-06-16 12:57:17
|
>>> 2) BUG 1503114 FIX: 1107709 plot [-1:1] x is plotted with >>> asymmetric y-axis >> >> Floating-point rounding is tricky stuff. It's completely inevitable >> that sometimes, results will surprise people. All this patch does is >> move the surprise from a seemingly obvious place to a less obvious one. >> An axis ending at 2.0000001 has no more business being artificially cut >> down to 2.0 than one ending at 2.001. > > I think it does in some cases, and depends on the range. I'll illustrate > with two ranges determined by the data input. > > 2) [-2.0 : 2.0000001] > > In the first case, yes definitely, the limits have no business being artificially shrunk. What about rounding range limits to the nearest "nice value" in a range of 100*MachineEpsilon? --- PM |