Lars T. Kyllingstad:
> He also proposed that the overload be called opPower.

I want to add to two small things to that post of mine:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=95123

The name opPow() may be good enough instead of opPower().

And A^^3 may be faster than A*A*A when A isn't a simple number, so always 
replacing the power with mults may be bad. On the other hand if double^^2 is 
compiled as pow(double,2) then I'm not going to use ^^ in most of my code.

Bye,
bearophile

Reply via email to