lua-users home
lua-l archive

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


Wouldn't it be more logical, if exponentiation with negative
exponent would convert the base argument to float, similar to the
division case?

Lua 5.2.3  Copyright (C) 1994-2013 Lua.org, PUC-Rio

> =4^(-1)

0.25

-- e