Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Categories of Intrinsic Functions

Generic intrinsic functions can be divided into categories, as shown in the following table:

Categories of Intrinsic Functions

Category

Subcategory

Description

Numeric

Computation

Elemental functions that perform type conversions or simple numeric operations: ABS, AIMAG, AINT, AMAX0, AMIN0, ANINT, CEILING, CMPLX, CONJG, DBLE, DCMPLX, DFLOAT, DIM, DNUM, DPROD, DREAL, FLOAT, FLOOR, IFIX, IMAG, INT, INUM, JNUM, KNUM MAX, MAX1, MIN, MIN1, MOD, MODULO, NINT, QCMPLX, QEXT, QFLOAT, QNUM, QREAL, REAL, RNUM, SIGN, SNGL, ZEXT

Nonelemental function that provides a pseudorandom number: RAN

Elemental function that generates a random number: RANF

Manipulation1

Elemental functions that return values related to the components of the model values associated with the actual value of the argument: EXPONENT, FRACTION, NEAREST, RRSPACING, SCALE, SET_EXPONENT, SPACING

Inquiry1

Functions that return scalar values from the models associated with the type and kind parameters of their arguments2: DIGITS, EPSILON, HUGE, ILEN, MAXEXPONENT, MINEXPONENT, PRECISION, RADIX, RANGE, SIZEOF, TINY

Transformational

Functions that perform vector and matrix multiplication: DOT_PRODUCT, MATMUL

System

Functions that return information about a process or processor: MCLOCK, SECNDS

The following table summarizes the generic intrinsic functions and indicates whether they are elemental, inquiry, or transformational functions. Optional arguments are shown within square brackets.

Some intrinsic functions are specific with no generic association. These functions are listed below.

Summary of Generic Intrinsic Functions

Generic Function

Class

Value Returned

ABS (A)

E

The absolute value of an argument

ACHAR (I [,KIND])

E

The character in the specified position of the ASCII character set

ACOS (X)

E

The arccosine (in radians) of the argument

ACOSD (X)

E

The arccosine (in degrees) of the argument

ACOSH (X)

E

The hyperbolic arccosine of the argument

The following table lists specific functions that have no generic function associated with them and indicates whether they are elemental, nonelemental, or inquiry functions. Optional arguments are shown within square brackets.

Specific Functions with No Generic Association

Generic Function

Class

Value Returned

CACHESIZE (N)

I

The size of a level of the memory cache

DCMPLX (X, Y)

E

The corresponding double complex value of the argument

DNUM (I)

E

The corresponding REAL(8) value of a character string

DPROD (X, Y)

E

The double-precision product of two real arguments

DREAL (A)

E

The corresponding double-precision value of the double-complex argument