lua-users home
lua-l archive

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


>Well, here's a little test (on Windows XP)

>#include <stdio.h>
>int main() {
>  double res = 0.0/0.0;
>  printf("res %lf\n",res);
>}

>I get

>res -1.#IND00

>No crash!  And yes, both GCC and CL agree on this one. (Also tried
>1.0/0.0, same result)

That behaviour does not seem to agree with my understanding of signals see: http://en.wikipedia.org/wiki/SIGFPE


--
Sorry for the Delphi attached garbage that follows.

**************************************************************************************** Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ****************************************************************************************