Corrected the 1.0 = 0.99999 sigfig-equal bug.
commit9d4e07e51cba263c5c4e68634baf932b62d7b368
authorThomas M. Hermann <tmh.public@gmail.com>
Thu, 4 Mar 2010 21:32:38 +0000 (4 15:32 -0600)
committerThomas M. Hermann <tmh.public@gmail.com>
Mon, 8 Mar 2010 15:52:35 +0000 (8 09:52 -0600)
tree87ad18e83727e90c22ff37f2503f6583e02737b1
parent0e512d5cdc8fc833dfaf896fa5fda09ee39b1d52
Corrected the 1.0 = 0.99999 sigfig-equal bug.

These values were not reported equal because the 0.99999 was not be
rounded correctly. The current approach appears robust, but looks like
it could be simplified.

Bug found by Mirko Vukovic.
floating-point.lisp