[UP]


Manual Reference Pages  - tiny (3)

NAME

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

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class

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
      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 19, 2019
Generated by manServer 1.08 from b93e9d16-be77-4af3-85a9-27c7bfc2ab88 using man macros.