MAXVAL
MAXVAL returns the maximum value that its numeric operand could assume.
- x
- An expression. x must have the REAL attribute.
MAXVAL(x) >= x and MINVAL(x) <= x are always true.
The following table shows
the relations among MAXVAL(x), MINVAL(x) and HUGE(x),
when x is FLOAT.
For more information, see HUGE and TINY.
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.