[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: ruby-math and "why is ** not abelian?"
From:       Stefan Schmiedl <s () xss ! de>
Date:       2004-01-26 21:34:53
Message-ID: bv410c$nk1a9$1 () ID-57631 ! news ! uni-berlin ! de
[Download RAW message or body]

On Mon, 26 Jan 2004 21:06:51 +0900,
Peter Hickman <peter@semantico.com> wrote:
> The problem is that ** is the 'raise to the power of' operator
>
> so 2**3 = 8
> but 3**2 = 9
>
> So a**b != b**a except when a=b.
>

2**4 = 16 = 4**2 

:-)

scnr
s.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic