TINY(X)

Purpose

Returns the smallest positive number in the model representing numbers of the same type and kind type parameter as the argument.

Class

Inquiry function

Argument type and attributes

X
An INTENT(IN) real. The corresponding actual argument can be scalar or array.

Result type and attributes

Scalar with the same type and kind type parameter as X.

Result value

IBM extension begins The result is:

2.0(MINEXPONENT(X)-1) for real X 
IBM extension ends

Examples

IBM extension begins TINY (X) = float(2)(-126) = 1.17549351e-38. See Real data model. IBM extension ends