Multiple dispatch branch merged

Mark J. Reed markjreed at gmail.com
Tue Oct 7 15:50:29 UTC 2008


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>


More information about the parrot-dev mailing list