Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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