The arithmetic types are the integer types and the floating-point types.

Arithmetic types are required as the operands of the following operators:

multiplicative-expression
multiplicative-expression * cast-expression
multiplicative-expression / cast-expression
unary-expression
unary-operator cast-expression
unary-operator
+
-
assignment-expression
unary-expression assignment-operator assignment-expression
assignment-operator
*=
/=

When both operands are of arithmetic types, several operators promote their operands to a more capable type, which is then the type of the result.

[ Work in progress : Much more to be said! And current text does not fit new context.]

The following types are guaranteed to be arithmetic; some are variations or aliases of others, and other, non-standard types may exist:


CHaR
Sitemap Supported
Site format updated 2024-06-05T22:37:07.391+0000
Data updated 1970-01-01T00:00:00.000+0000
Page updated 2023-10-04T20:24:03.209+0000