|
4.5.2 int expressions
An int expression is:
-
a sequence of digits (if the number represented by this sequence is too
large to fit into the range of integers it is automatically
converted to the type number, if a basering is defined)
-
an identifier of type int
-
a function returning int
-
an expression involving ints and the arithmetic operations
+ , - , * , div (/ ),
% (mod ), or ^
- a boolean expression
-
a type cast to int
Note:
Variables of type int represent the compiler integers and are, therefore,
limited in their range (see Limitations). If this range is too small
the expression must be converted to the type number over a ring with
characteristic 0.
Example:
See
Type conversion and casting;
number.
|