lua-users home
lua-l archive

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


>acos is another example: On a system I use lua on, the epxression
>"acos(2)" dumps core.

It's probably a bug in the stdio library. Under Linux I get "nan":

% lua
Lua 4.0  Copyright (C) 1994-2000 TeCGraf, PUC-Rio
> print(acos(2))
nan

Under Solaris, I get 0...

>I would go with your last option.  Put a warning in the manual.

We'll do it.
--lhf