PRED Function

Purpose

Returns a floating-point value with the base, mode, and precision of x, and that is the largest number that represents a value smaller than x.

Syntax

PRED(x)

Parameters

x
A FLOAT DECIMAL expression.

The -dfp compiler option (FLOAT DFP) must be in effect.

Description

OVERFLOW is raised if the number does not exist.

PRED(TINY(X)) does not raise UNDERFLOW, and returns 0 (zero).