negative number raised to even power
|
05-05-2015, 06:12 PM
(This post was last modified: 05-05-2015 06:24 PM by John Colvin.)
Post: #46
|
|||
|
|||
RE: negative number raised to even power
(05-05-2015 05:17 AM)debrouxl Wrote: In C/C++, ^ is exclusive or (xor). In C (but not in C++), from C99 onwards, when using the alternative spellings iso646.h header, xor is expanded to ^.That explains it. I knew ^ meant xor in the context of boolean operations, but that symbol is used so frequently to represent exponentiation, I just forgot about that quirk C. My bad. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 20 Guest(s)