Integer Expressions
Date: 2020-10-07 18:10:00

Up | Next | Prev | PrevTail | Tail

### 3.2 Integer Expressions

These are expressions which, because of the values of the constants and variables in them, evaluate to whole numbers.

Examples:

2, 37 * 999, (x + 3)^2 - x^2 - 6*x

are obviously integer expressions.

j + k - 2 * j^2

is an integer expression when J and K have values that are integers, or if not integers are such that “the variables and fractions cancel out”, as in

k - 7/3 - j + 2/3 + 2*j^2.

Up | Next | Prev | PrevTail | Front