Returns the smallest positive value allowable for a floating-point variable.
TINY(x)
x is an expression of type FLOAT BINARY or FLOAT DECIMAL.
TINY returns a floating-point value that is the smallest positive value x can have. It has the base, mode, and precision of x.
The TINY built-in is not allowed during restricted expression evaluation.
This example shows the IEEE FLOAT BINARY and FLOAT DECIMAL values returned for the TINY built-in.
dcl d float bin (52);
dcl f float bin (23);
d = tiny(d); /* 4.9406564584124654E-324 */
f = tiny(f); /* 1.401298464E-45 */
/* Supported on Intel only */
dcl x float dec (34);
dcl y float dec (16);
dcl z float dec (7);
x = tiny(x); /* 1.000000000000000000000000000000000E-6143 */
y = tiny(y); /* 1.000000000000000E-0383 */
z = tiny(z); /* 1.000000E-0095 */