Intel® Fortran Compiler 17.0 Developer Guide and Reference

TINY

Inquiry Intrinsic Function (Generic): Returns the smallest number in the model representing the same type and kind parameters as the argument.

result = TINY (x)

x

(Input) Must be of type real; it can be scalar or array valued.

Results

The result is a scalar with the same type and kind parameters as x. The result has the value b emin - 1. Parameters b and emin are defined in Model for Real Data.

Example

If X is of type REAL(4), TINY (X) has the value 2 -126.

The following shows another example:

 REAL(8) r, result
 r = 487923.3D0
 result = TINY(r)   ! returns 2.225073858507201E-308

See Also