- Subject: Re: slang 1.3.10 available
- From: "John E. Davis" <davis>
- Date: Sun, 14 Nov 1999 14:29:39 -0500
Ismael Cordeiro <ismael@xxxxxxxxxxxx> wrote:
>| Testing sscanf ...S-Lang Traceback: (Error occurred on line 65)
I think that the random numbers involved in this test cause a floating
point exception. Do you have your processor set in a mode that
enables these exceptions? The linux default mode is not to throw them
because there is nothing that can really be done to handle them in a
POSIX compliant manner.
Under linux, you can enable exceptions via:
__setfpucw (0x1372);
function call. To turn them off, use:
__setfpucw (0x137f);
In any case, I should change the error messgae to indicate a floating
point exception.
Thanks,
--John
[1999 date index]
[1999 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]