O'Reilly logo

Direct Broadcast Satellite Communications: An MPEG Enabled Service by Donald C. Mead

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix G. Operators, Mnemonics, Abbreviations

The mathematical operators used in this book are similar to those used in the C programming language. However, integer division with truncation and rounding are specifically defined. The bitwise operators are defined assuming two’s-complement representation of integers. Numbering and counting loops generally begin from 0.

Operators Mathematical

+ Addition
- Subtraction (as a binary operator) or negation (as a unary operator)
++ Increment
-- Decrement
* Multiplication
^ Power
/ Integer division with truncation of the result toward 0. For example, 7/4 and -7/-4 are truncated to 1 and -7/4 and 7/-4 are truncated to -1.
// Integer division with rounding to the nearest integer. Half-integer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required