lua-users home
lua-l archive

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


> so you'd want 
> to be able to tell lua to use that division instead if you just replaced 
> lua_Number and recompiled.

In 5.1 you can do that by defining num_div adequately in luaconf.h.
(And the same for all arithmetic operations.)
--lhf