[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: integer exponentiation with negative exponent
- From: Coda Highland <chighland@...>
- Date: Sun, 13 Apr 2014 20:40:57 -0700
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