Check if a real value is NaN
@param[in] x Real value to check @return True if x is NaN, false otherwise
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | x |
elemental function is_nan_real(x) result(is_nan) real(rk), intent(in) :: x logical :: is_nan is_nan = ieee_is_nan(x) end function is_nan_real