This section is a whirlwind tour of the basic operators D supports. For the most part, things are the same as they are in C. There are a few minor differences that will be highlighted as we come to them. More operators will appear later in this chapter and throughout the book. You can read more about D's operators at http://dlang.org/expression.html.
All of the common
arithmetic operators are available:
%, representing addition, subtraction, multiplication, division, and modulus respectively. Additionally, D has an
^^, which raises the left operand to an exponent (power) represented by the right operand. For example, 22 can be expressed as
2 ^^ 2.
D also supports the standard ...