On Tue, Oct 7, 2008 at 11:50 AM, Mark J. Reed <[EMAIL PROTECTED]> wrote: > On Tue, Oct 7, 2008 at 11:24 AM, Will Coleda <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> >
It's in 8.5, and yes, that appears to be the main difference. -- Will "Coke" Coleda _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
