[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: embedding octave - floating point exception
From: |
Jason Riedy |
Subject: |
Re: embedding octave - floating point exception |
Date: |
Tue, 10 Mar 2009 17:58:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
And John W. Eaton writes:
> For your progmam that embeds Octave, are you using the same libraries
> (liboctinterp, liboctave, libcruft) that are used by the copy of
> Octave that runs correctly? If so, then I don't understand how this
> can work correctly for Octave but not for your program.
Odds are that some other component is changing the FPU flags to induce
interrupts on exceptional behavior. It might be worth wrapping all
interpreter entry points with C99's feholdexcept / feupdateenv when
they're available. I have autoconf macros to check those sitting around
*somewhere*.
Jason
- embedding octave - floating point exception, Marco Driusso, 2009/03/09
- embedding octave - floating point exception, John W. Eaton, 2009/03/09
- Message not available
- Re: embedding octave - floating point exception,
Jason Riedy <=
- Re: embedding octave - floating point exception, Marco Driusso, 2009/03/11
- Re: embedding octave - floating point exception, Jason Riedy, 2009/03/11
- Re: embedding octave - floating point exception, Marco Driusso, 2009/03/11
- Re: embedding octave - floating point exception, Jason Riedy, 2009/03/11
- Re: embedding octave - floating point exception, Marco Driusso, 2009/03/12
- Re: embedding octave - floating point exception, Marco Driusso, 2009/03/12
- Re: embedding octave - floating point exception, Jason Riedy, 2009/03/12
- Re: embedding octave - floating point exception, Marco Driusso, 2009/03/11