This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: testsuite/print_long_arg_list



   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