octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two fail


From: Rik
Subject: [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686
Date: Fri, 23 Mar 2018 11:42:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #3, bug #53435 (project octave):

Note that IEEE-854 doubles have 15-17 significant digits when expressed in
base 10.  The constants have only 15 significant digits.  The first step
should be to update the precision of the constants used in comparison to be 17
digits.  This is longer than what is typically displayed with "format long" so
you need to use printf with a format.  For example,


printf ('%.17f\n', x)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53435>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]