From: Martin DeMello Date: 2008-08-20T05:16:23+09:00 Subject: Re: Shortest Ruby crash #49 On Tue, Aug 19, 2008 at 12:36 PM, Limo Driver wrote:> > Why is this being evaluated as 5**(6**7), when for instance 9/9/9 is > being evaluated normally (9/9)/9=0, instead of 9/(9/9)=9? Ruby follows the actual mathematical usage, where a^b^c (imagine it written in tower form) is a^(b^c). I guess this is because (a^b)^c = a^(bc), so a^(b^c) was the case that needed the compact notation martin