lua-users home
lua-l archive

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


yup.... ignore me here; apparently I had whatever tim had.


On 13 April 2014 23:40, Coda Highland <chighland@gmail.com> wrote:
On Sun, Apr 13, 2014 at 6:28 PM, Daurnimator <quae@daurnimator.com> wrote:
> I actually really like the idea.
>
> The numerator is not always 1.
> e.g. 10^-4 == 10//4 == 2

No, the numerator IS always 1. x^-1 is the same as 1/x, and x^(a*b) is
the same as (x^a)^b, so by applying both properties, 10^-4 ==
10^(-1*4) == (10^-1)^4 == (1/10)^4 == 1/10000. Not 2.

/s/ Adam