lua-users home
lua-l archive

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


>>Seems to give a floating point exception. In 5.1 it returned 'inf' can anyone else confirm this - it might be my build (c++ builder)?

>This is not the behaviour I see
>~/Documents/API/lua-5.2.0-alpha/src$ ./lua -e"print(1.0/0.0)"
>inf


Thanks Liam

Any idea where "inf" is generated? I have done a grep of the source code and can't find it defined anywhere.

I presume this is something to do with the way my build is handling exceptions - I see from the code that  LUAI_TRY maps to try in C++ builds, or it could be because I am building Lua as a dll

Ian

--
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. ****************************************************************************************