notEqual Function

private elemental function notEqual(a, b) result(res)

Relational operator to test the not-equality of floating point numbers.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: a

Floating point value to be compared.

real(kind=rk), intent(in) :: b

Floating point value to be compared.

Return Value logical

The result is a logical value indicating whether the operands are not equal to within numerical precision.