Pow operator precedence

bearophile bearophileHUGS at lycos.com
Sat Jan 14 08:45:05 PST 2012


Chad J:

> Parentheses would be required, so one must write
> (-10)^^2
> or
> -(10^^2)
> 
> I imagine this would make sense for all unary operators colliding with ^^:

Is this wise and good? What are Walter & Andrei & Don thinking about this?

Bye,
bearophile


More information about the Digitalmars-d mailing list