On Sun, May 02, 2010 at 12:05:23PM +0100, Dominic Hargreaves wrote: > On Sat, Apr 24, 2010 at 07:43:21AM +0300, Niko Tyni wrote:
> > # got: '-257.805436617161831' > > # expected: '-257.805436616763' > > -Duselongdouble. > Thanks for this report. What's the received wisdom on how to fix this > sort of test problem? Just allow either value? The usual way to test for floating point equality is to check that the difference is "small enough". I'm not aware of any better approach for this specific case. -- Niko -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org