lua-users home
lua-l archive

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


> I wish there was some built-in support for this (say, math.to_unsafe_int()
> or
> something).

I just noticed math.ifloor() went away.
Also I just noticed that math.floor returns either a number or integer
depending on the situation. Wasn't there already an earlier argument
(that I thought successfully) argued against having functions
sometimes return different types? (Was it power/exponent?)

Thanks,
Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/