On Thursday, 23 June 2016 at 18:49:56 UTC, ketmar wrote:
On Thursday, 23 June 2016 at 18:35:23 UTC, jmh530 wrote:
You're thinking of pow in std.math. I don't see opBinary!("^^") anywhere in there. I only see ^^ in comments.

the "^^" is very special, 'cause it is the one and only thing that compiler recognizes as "function call" in expression parsing, and generates call to std.math.pow. a freakin' wart.

It is also has different associativity, and is one of my favorite gotcha :

| is bitwize or. || is binary or.
& is bitwize and. && is binary and.
^ is bitwize xor. ^^ is... no, never mind.

Reply via email to