IEEE_CLASS

Elemental Module Intrinsic Function (Generic): Returns the IEEE class.

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

構文

result = IEEE_CLASS (x)

x

(Input) Must be of type REAL.

Results

The result is of type TYPE(IEEE_CLASS_TYPE). The result value is one of the following:

IEEE_SIGNALING_NAN

IEEE_NEGATIVE_NORMAL

IEEE_QUIET_NAN

IEEE_POSITIVE_DENORMAL

IEEE_POSITIVE_INF

IEEE_NEGATIVE_DENORMAL

IEEE_NEGATIVE_INF

IEEE_POSITIVE_ZERO

IEEE_POSITIVE_NORMAL

IEEE_NEGATIVE_ZERO

IEEE_CLASS does not return IEEE_OTHER_VALUE in Intel® Fortran.

IEEE_CLASS(1.0) has the value IEEE_POSITIVE_NORMAL.


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。