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: anonymous
Subject: [Octave-bug-tracker] [bug #50600] floating point format is not IEEE! (using PGI compiler)
Date: Mon, 20 Mar 2017 23:08:37 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

I tried adding the -Kieee flag to the build but it didn't help

export   FFLAGS=" -Kieee -fPIC"
export   CFLAGS=" -Kieee -fPIC"
export CXXFLAGS=" -Kieee -fPIC ..."


The INSTALL.OCTAVE file said this

  * If Octave crashes immediately with a floating point exception, it
     is likely that it is failing to initialize the IEEE floating point
     values for infinity and NaN.

     If your system actually does support IEEE arithmetic, you should be
     able to fix this problem by modifying the function
     'octave_ieee_init' in the file 'lo-ieee.cc' to correctly initialize
     Octave's internal infinity and NaN variables.

     If your system does not support IEEE arithmetic but Octave's
     configure script incorrectly determined that it does, you can work
     around the problem by editing the file 'config.h' to not define
     'HAVE_ISINF', 'HAVE_FINITE', and 'HAVE_ISNAN'.

     In any case, please report this as a bug since it might be possible
     to modify Octave's configuration script to automatically determine
     the proper thing to do.


I didn't try editing the "lo-ieee.cc" file because you weren't specific on
what changes I'm supposed to make.

    _______________________________________________________

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]