ISNAN - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
template<typename T>
logical isnan(T *sin)#

ISNAN tests input for NaN.

Purpose:

 ISNAN   returns .TRUE. if its argument is NaN, and .FALSE.
 otherwise.  To be replaced by the Fortran 2003 intrinsic in the
 future.
Parameters:

SIN[in]

SIN is REAL

Input to test for NaN.

Returns:

LOGICAL Boolean. Return TRUE if argument is NAN.