lua-users home
lua-l archive

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


> What about the overflow case? What are your thoughts as a member of
> the core Lua team -- should exponentiation in the overflow case return
> an incorrect value, return a float value, or do something else?

It is doing what all other operations are doing: wraping around (that is,
it returns the correct arithmetic result modulo 2^64).

-- Roberto