Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.

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_FMA (A, B, C)

E

Fused multiply-add

IEEE_GET_ROUNDING_MODE (ROUND_VALUE [, RADIX])

SI

The current IEEE rounding mode

IEEE_GET_UNDERFLOW_MODE (GRADUAL)

SI

The current underflow mode

IEEE_INT (A, ROUND [, KIND])

E

Conversion to INTEGER data type

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_MAX_NUM (X, Y)

E

The maximum numeric value

IEEE_MAX_NUM_MAG (X, Y)

E

The maximum magnitude numeric value

IEEE_MIN_NUM (X, Y)

E

The minimum numeric value

IEEE_MIN_NUM_MAG (X, Y)

E

The minimum magnitude numeric value

IEEE_NEXT_AFTER (X, Y)

E

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

IEEE_NEXT_DOWN (X)

E

The next lower adjacent machine number

IEEE_NEXT_UP (X)

E

The next higher adjacent machine number

IEEE_QUIET_EQ (A, B)

E

Quiet compare for equality

IEEE_QUIET_GE (A, B)

E

Quiet compare for greater than or equal

IEEE_QUIET_GT (A, B)

E

Quiet compare for greater than

IEEE_QUIET_LE (A, B)

E

Quiet compare for less than or equal

IEEE_QUIET_LT (A, B)

E

Quiet compare for less than

IEEE_QUIET_NE (A, B)

E

Quiet compare for inequality

IEEE_REAL (A [, KIND])

E

Conversion to REAL data type

IEEE_REM (X, Y)

E

The result of a remainder operation; the IEEE rem function

IEEE_RINT (X [, ROUND])

E

An integer value rounded according to the current or specified 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 [, RADIX])

SI

Sets the IEEE rounding mode

IEEE_SET_UNDERFLOW_MODE (GRADUAL)

SI

Sets the current underflow mode

IEEE_SIGNALING_EQ (A, B)

E

Signaling compare for equality

IEEE_SIGNALING_GE (A, B)

E

Signaling compare for greater than or equal

IEEE_SIGNALING_GT (A, B)

E

Signaling compare for greater than

IEEE_SIGNALING_LE (A, B)

E

Signaling compare for less than or equal

IEEE_SIGNALING_LT (A, B)

E

Signaling compare for less than

IEEE_SIGNALING_NE (A, B)

E

Signaling compare for inequality

IEEE_SIGNBIT (X)

E

Tests the sign bit of X

IEEE_SUPPORT_DATATYPE ([X])

I

Whether IEEE arithmetic is supported

IEEE_SUPPORT_DENORMAL ([X])

I

Whether subnormal 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])

T

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_SUBNORMAL ([X])

I

Whether subnormal numbers 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 signaling

IEEE_GET_HALTING_MODE (FLAG, HALTING)

ES

The current halting mode for an exception

IEEE_GET_MODES (MODES)

SI

The current IEEE floating-point modes

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_MODES (MODES)

SI

Restores the current IEEE floating-point modes

IEEE_SET_STATUS (STATUS_VALUE)

SI

Restores the state of the floating-point environment

IEEE_SUPPORT_FLAG (FLAG [, X])

T

Whether an exception is supported

IEEE_SUPPORT_HALTING (FLAG)

T

Whether halting after and exception is supported

Key to Classes

ES-Elemental subroutine

SI-Impure Subroutine

SP-Pure Subroutine

T-Transformational