lua-users home
lua-l archive

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


Hello,

I'm sorry to interrupt the number-theoretic discussion but these seem way off:

> Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> > print(1e97 % 97)
> -8.8928324534259e+79

> Lua 5.2.4  Copyright (C) 1994-2015 Lua.org, PUC-Rio
> > print(1e97 % 97)
> -8.8928324534259e+79

I get 0 on all platforms I can test Lua 5.[12] on, which is of course as bad as 3 but not *this* bad. Could any patches you use have affected this?

Best regards,

--
DoubleF