C.2.5 Miscellaneous Intrinsic Functions

Table C-6 lists the Compaq Fortran 77 miscellaneous intrinsic functions.

Table C-6 Miscellaneous Intrinsic Functions

Function      No. of Arguments   Generic Name   Specific Name   Type of Argument   Type of Result 
IEEE class [1,2]   FP_CLASS  REAL*4  INTEGER*4 
      REAL*8  INTEGER*4 
      REAL*16[3]  INTEGER*4 
NaN test [2,4]   ISNAN  REAL*4  LOGICAL*4 
      REAL*8  LOGICAL*4 
 
Nworkers [5]   NWORKERS  INTEGER*4 
 
Sizeof [6]  SIZEOF  n [7]  INTEGER*4 
      n [7]  INTEGER*8[2] 

[1] FP_CLASS returns the class of an IEEE real (S_floating or T_floating) argument. Return values are defined in file fordef.f. For more information, see your user manual.

[2] Alpha only

[3] VMS, U*X

[4] ISNAN tests whether IEEE REAL*4 (S_ floating) and REAL*8 (T_floating) numbers are Not-a-Number (NaN) values. To use this function, the compiler option /FLOAT=IEEE must be specified.

[5] NWORKERS returns the total number of processes executing a routine. On Alpha processors, NWORKERS always returns 1 (only serial processing is performed).

[6] SIZEOF returns the number of bytes of storage used by the argument.

[7] The argument can be anything with a valid data type, except assumed-size arrays or passed-length characters.

For More Information:


Previous Page Next Page Table of Contents