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

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

[Octave-bug-tracker] [bug #47964] rats test failure on Debian i386


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47964] rats test failure on Debian i386
Date: Thu, 19 May 2016 22:17:03 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #1, bug #47964 (project octave):

The following condition at line 392 of the rational_approx function is failing
the first time through the loop, so the returned string is "0":


if (fabs (frac) < 1 / static_cast<double> (std::numeric_limits<int>::max ()))


where the value frac is exactly equal to 1.0/2147483647.

http://hg.savannah.gnu.org/hgweb/octave/file/@/libinterp/corefcn/pr-output.cc#l391

My i386 build is also done with -O0, if that makes a difference here.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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