🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

**== and >>>==

Started by
0 comments, last by WitchLord 9 years, 4 months ago

I see **= and >>>= in a lot of places in the documentation but any of them explain what it does.

What do these things do?

Advertisement

These are compound assignment operators.

A **= B; means A = A ** B; (** is power-of or exponent operator)

A >>>= B; means A = A >>> B; (>>> is arithmetic shift right)

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement