From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stan Shebs To: jtc@redback.com Cc: gdb-patches@cygnus.com, phdm@macqel.be, gdb@cygnus.com Subject: Re: testsuite/print_long_arg_list Date: Thu, 08 Apr 1999 16:01:00 -0000 Message-id: <199904082301.QAA29767@andros.cygnus.com> References: <5mg16aycjf.fsf@jtc.redbacknetworks.com> X-SW-Source: 1999-q2/msg00005.html From: jtc@redback.com (J.T. Conklin) Date: 08 Apr 1999 15:26:12 -0700 Isn't the problem that 22.22 cannot be represented exactly in binary floating point, thus is subject to various rounding issues in the least significant digits? Perhaps using values like 22.5, 22.25, 22.125, etc. would eliminate these problems. Doh! I should've thought of that! Yes, that does give better results, and the author of those tests, who is on this list, says "change 'em however you want". So that's what will happen. Thanks! -s