MAXVAL returns the maximum value that its numeric operand could assume.
>>-MAXVAL(x)---------------------------------------------------><
MAXVAL(x) >= x and MINVAL(x) <= x are always true.
Built-in functions | Same as |
---|---|
MAXVAL(x) | HUGE(x) |
MINVAL(x) | -HUGE(x) |
MAXVAL(x) is a constant and can be used in restricted expressions.