IEEE_IS_NAN

Elemental Module Intrinsic Function (Generic): Returns whether an IEEE value is Not-a-Number (NaN).

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

構文

result = IEEE_IS_NAN (x)

x

(Input) Must be of type REAL.

Results

The result type is default logical. The result has the value true if the value of x is NaN; otherwise, false.

IEEE_IS_NAN (SQRT(-2.0)) has the value true if IEEE_SUPPORT_SQRT (2.0) has the value true.


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

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