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

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

[Octave-bug-tracker] [bug #50600] floating point format is not IEEE! (us


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #50600] floating point format is not IEEE! (using PGI compiler)
Date: Wed, 22 Mar 2017 15:03:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #7, bug #50600 (project octave):

I think the previous issue that Philip is recalling was with an older release
of Octave and an older release of GCC. There is no guarantee that the issue
you are seeing with the PGI compiler is the same or related.

I think Philip is referring to the liboctave library, make sure that you don't
have multiple copies of Octave in your environment or leftover build products
of a different configuration.

If you want to debug this, you will probably want to look at the
octave::get_float_format routine in liboctave/system/mach-info.cc. This
function looks at the values of certain floating point constants returned by
the Fortran function DLAMCH (which is part of LAPACK, or OpenBLAS in your
case) and compares them to what they should be if the system supports IEEE
floating point, either big-endian or little-endian. You should be able to look
at the results in a debugger (or printf debugging) to see what values are not
matching up.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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