[UP]


Manual Reference Pages  - tiny (3)

NAME

tiny(3f) - [FORTRAN:INTRINSIC:NUMERIC MODEL] Smallest positive number of a real kind

SYNTAX

result = tiny(x)

DESCRIPTION

tiny(x) returns the smallest positive (non zero) number in the model of the type of X.

ARGUMENTS

X Shall be of type REAL.

RETURN VALUE

The return value is of the same type and kind as X

EXAMPLE

Sample program:

    program demo_huge_tiny
    implicit none
      print *, huge(0), huge(0.0), huge(0.0d0)
      print *, tiny(0.0), tiny(0.0d0)
    end program demo_huge_tiny

STANDARD

[[Fortran 95]] and later

CLASS

[[Inquiry function]]


tiny (3) March 11, 2021
Generated by manServer 1.08 from 50a7cd21-cfab-4da9-ad89-642a915e2e90 using man macros.