Intel® Fortran Compiler 16.0 User and Reference Guide

IEEE Intrinsic Modules Quick Reference Tables

This topic contains quick reference tables showing categories of IEEE intrinsic modules, a summary of the IEEE_ARITHMETIC intrinsic procedures, and a summary of the IEEE_EXCEPTIONS intrinsic procedures.

Categories of Intrinsic Module Functions
Category Sub-category Description

IEEE

Arithmetic

Test IEEE values or provide features:

IEEE_CLASS, IEEE_COPY_SIGN, IEEE_IS_FINITE, IEEE_IS_NAN, IEEE_IS_NORMAL, IEEE_IS_NEGATIVE, IEEE_LOGB, IEEE_NEXT_AFTER, IEEE_REM, IEEE_RINT, IEEE_SCALB, IEEE_UNORDERED, IEEE_VALUE

Inquiry

Returns whether the processor supports certain exceptions or IEEE features:

IEEE_SUPPORT_DATATYPE, IEEE_SUPPORT_DENORMAL, IEEE_SUPPORT_DIVIDE, IEEE_SUPPORT_FLAG, IEEE_SUPPORT_HALTING, IEEE_SUPPORT_INF, IEEE_SUPPORT_IO, IEEE_SUPPORT_NAN, IEEE_SUPPORT_ROUNDING, IEEE_SUPPORT_SQRT, IEEE_SUPPORT_STANDARD, IEEE_SUPPORT_UNDERFLOW_CONTROL

Transformational

Returns the kind type parameter of an IEEE value:

IEEE_SELECTED_REAL_KIND

Summary of IEEE_ARITHMETIC Procedures

Procedure

Class

Value Returned or Result

IEEE_CLASS (X)

E

The IEEE class

IEEE_COPY_SIGN (X, Y)

E

An argument with a copied sign; the IEEE copysign function

IEEE_GET_ROUNDING_MODE (ROUND_VALUE)

SI

The current IEEE rounding mode

IEEE_GET_UNDERFLOW_MODE (GRADUAL)

SI

The current underflow mode

IEEE_IS_FINITE (X)

E

Whether a value is finite

IEEE_IS_NAN (X)

E

Whether a value is NaN

IEEE_IS_NEGATIVE (X)

E

Whether a value is negative

IEEE_IS_NORMAL (X)

E

Whether a value is normal

IEEE_LOGB (X)

E

An exponent in IEEE floating-point format; the IEEE logb function

IEEE_NEXT_AFTER (X, Y)

E

The next representable value after X toward Y; the IEEE nextafter function

IEEE_REM (X, Y)

E

The result of a remainder operation; the IEEE rem function

IEEE_RINT (X)

E

An integer value rounded according to the current rounding mode

IEEE_SCALB (X, I)

E

The value of X multiplied by 2**I; the IEEE scalb function

IEEE_SELECTED_REAL_KIND ([P] [, R])

T

The kind type parameter for an IEEE real

IEEE_SET_ROUNDING_MODE (ROUND_VALUE)

SI

Sets the IEEE rounding mode

IEEE_SET_UNDERFLOW_MODE (GRADUAL)

SI

Sets the current underflow mode

IEEE_SUPPORT_DATATYPE ([X])

I

Whether IEEE arithmetic is supported

IEEE_SUPPORT_DENORMAL ([X])

I

Whether denormalized numbers are supported

IEEE_SUPPORT_DIVIDE ([X])

I

Whether divide accuracy compares to IEEE standard

IEEE_SUPPORT_INF ([X])

I

Whether IEEE infinities are supported

IEEE_SUPPORT_IO ([X])

I

Whether IEEE base conversion rounding is supported during formatted I/O

IEEE_SUPPORT_NAN ([X])

I

Whether IEEE Not-A-Number is supported

IEEE_SUPPORT_ROUNDING (ROUND_VALUE [, X])

I

Whether a particular rounding mode is supported

IEEE_SUPPORT_SQRT ([X])

I

Whether IEEE square root is supported

IEEE_SUPPORT_STANDARD ([X])

I

Whether all IEEE capabilities are supported

IEEE_SUPPORT_UNDERFLOW_CONTROL(X)

I

Whether control of underflow mode is supported

IEEE_UNORDERED (X, Y)

E

Whether one or both arguments are NaN; the IEEE unordered function

IEEE_VALUE (X, CLASS)

E

An IEEE value

Key to Classes

E-Elemental function

I-Inquiry

SI-Impure Subroutine

T-Transformational

Summary of IEEE_EXCEPTIONS Procedures

Procedure

Class

Value Returned or Result

IEEE_GET_FLAG (FLAG, FLAG_VALUE)

ES

Whether an exception flag is signalling

IEEE_GET_HALTING_MODE (FLAG, HALTING)

ES

The current halting mode for an exception

IEEE_GET_STATUS (STATUS_VALUE)

SI

The current state of the floating-point environment

IEEE_SET_FLAG (FLAG, FLAG_VALUE)

SP

Assigns a value to an exception flag

IEEE_SET_HALTING_MODE (FLAG, HALTING)

SP

Controls the halting mode after an exception

IEEE_SET_STATUS (STATUS_VALUE)

SI

Restores the state of the floating-point environment

IEEE_SUPPORT_FLAG (FLAG [, X])

I

Whether an exception is supported

IEEE_SUPPORT_HALTING (FLAG)

I

Whether halting after and exception is supported

Key to Classes

ES-Elemental subroutine

I-Inquiry

SI-Impure Subroutine

SP-Pure Subroutine