[Ecls-list] Latest fixes
Gabriel Dos Reis
gdr at integrable-solutions.net
Sun Nov 15 20:59:57 UTC 2009
On Sun, Nov 15, 2009 at 2:55 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> On Sun, Nov 15, 2009 at 9:49 PM, Waldek Hebisch
> <hebisch at math.uni.wroc.pl> wrote:
>> I checked the newest version and debugger is entered as it should.
>> Also (atan (complex 0.0d0 1.0d0)). But I noticed significant
>> change: no traping mode seem to be the default. Previously
>> apropriate condition was raised (as expected by FriCAS) now
>> I just get:
>>
>> #C(#<DOUBLE-FLOAT quiet NaN> #.SI:DOUBLE-FLOAT-POSITIVE-INFINITY)
>>
>> and need to pass '--trap-fpe' to ECL. Worse, executable seem to
>> default to non-trapping mode and it is not clear how to make
>> them use trapping mode.
>
> Use (ext:trap-fpe T T) to turn all exceptions on or (ext:trap-fpe T
> nil) to turn them off.
So, I suspect this is something you would recommend to
put in the :epilogue when people are building standalone program
where the FPE trapping matters?
-- Gaby
More information about the ecl-devel
mailing list