a**b exponentiation

Jari-Matti Mäkelä jmjmak at utu.fi.invalid
Sun Jul 1 12:10:11 PDT 2007


Chris Nicholson-Sauls wrote:

> And I rather like the other proposed operator: ^^
> Should be more clear, and more familiar since some languages already use
> '^' to mean power -- so long as it doesn't get confused with our
> existing '^' operator...
> 

It might be a bit problematic for APM libs unless you can overload it,
because the default implementation that calls * might not be always
optimal. Then one might ask whether it's good or bad to have so many
builtin overloadable domain specific constructs.



More information about the Digitalmars-d mailing list