lua-users home
lua-l archive

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


On 04/14/2014 01:04 PM, Philipp Janda wrote:

Or maybe `math.pow` and `math.ipow`. This way you can be explicit if you need a certain overflow behavior.


Philipp


If `math.pow` and `math.ipow` was used to be explicit about overflow and underflow behaviour, than maybe the x ^ y operator should try to implicitly produce the most useful output.

I write in conditional form, because I am not sure about the issue either.
--
Thomas