huge(3f) - [FORTRAN:INTRINSIC] Largest number of a kind
Syntax
Description
Arguments
Return Value
Example
Standard
Class
result = huge(x)
huge(x) returns the largest number that is not an infinity in the model of the type of X.
X - Shall be of type REAL or INTEGER.
The return value is of the same type and kind as X
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
[[Fortran 95]] and later
[[Inquiry function]]
huge (3) | March 18, 2019 |