[UP]


Manual Reference Pages  - huge (3)

NAME

huge(3f) - [FORTRAN:INTRINSIC] Largest number of a kind

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class

SYNTAX

result = huge(x)

DESCRIPTION

huge(x) returns the largest number that is not an infinity in the model of the type of X.

ARGUMENTS

X - Shall be of type REAL or INTEGER.

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]]


huge (3) March 18, 2019
Generated by manServer 1.08 from 4623cbc8-73e1-46ad-b722-1b8d7b3a9122 using man macros.