is_NaN Interface

public interface is_NaN

interface to check for NaN values


Contents


Module Procedures

private elemental function contains_NaN_real(var)

Checks a given real value/array/matrix for NaN.

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: var

the real variable/array/matrix to check

Return Value logical

private elemental function contains_NaN_complex(var)

Checks a given complex value/array/matrix for NaN.

Arguments

TypeIntentOptionalAttributesName
complex(kind=dp), intent(in) :: var

the complex variable/array/matrix to check

Return Value logical