Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Tests input for NaN.
val = slaisnan( sin1, sin2 )
val = dlaisnan( din1, din2 )
This logical routine checks for NaNs (NaN stands for 'Not A Number') by comparing its two arguments for inequality. NaN is the only floating-point value where NaN ≠ NaN returns .TRUE. To check for NaNs, pass the same variable as both arguments.
This routine is not for general use. It exists solely to avoid over-optimization in ?isnan.
REAL for sisnan
Two numbers to compare for inequality.
DOUBLE PRECISION for disnan
Two numbers to compare for inequality.
Logical. Result of the comparison.