Multiple dispatch branch merged

Will Coleda will at coleda.com
Tue Oct 7 16:05:23 UTC 2008


On Tue, Oct 7, 2008 at 11:50 AM, Mark J. Reed <markjreed at gmail.com> wrote:
> On Tue, Oct 7, 2008 at 11:24 AM, Will Coleda <will at coleda.com> wrote:
>> Looks like pow has changed though: [expr 2**3] used to return a tclint
>> 8, now it returns a tclfloat 8.0
>
> expr support for ** is new in TCL 8.6, right?  (or maybe 8.5; wasn't
> there in 8.4, anyway) Is the only intended difference between a**b and
> pow(a,b) that int**int returns int while pow(int, int) returns float?
>
> --
> Mark J. Reed <markjreed at gmail.com>
>

It's in 8.5, and yes, that appears to be the main difference.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list