12.4 Operations on Fixed-Point Variables
Support for fixed-point types includes:
- Prefix and postfix increment and decrement operators
(
++
,--
) - Unary arithmetic operators (
+
,-
,!
) - Binary arithmetic operators (
+
,-
,*
,/
) - Binary shift operators (
<<
,>>
) - Relational operators (
<
,<=
,>=
,>
) - Assignment operators (
+=
,-=
,*=
,/=
,<<=
,>>=
) - Conversions to and from integer, floating-point, or fixed-point types