equal Function

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

Relational operator to test the 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 equal to within numerical precision.


Called by

proc~~equal~~CalledByGraph proc~equal equal interface~operator (.feq.) operator (.feq.) interface~operator (.feq.)->proc~equal proc~equal_array equal_array interface~operator (.feq.)->proc~equal_array proc~equal_array->proc~equal proc~greaterthanorequal greaterThanOrEqual proc~greaterthanorequal->proc~equal proc~lessthanorequal lessThanOrEqual proc~lessthanorequal->proc~equal proc~notequal notEqual proc~notequal->proc~equal interface~operator (.fge.) operator (.fge.) interface~operator (.fge.)->proc~greaterthanorequal interface~operator (.fle.) operator (.fle.) interface~operator (.fle.)->proc~lessthanorequal interface~operator (.fne.) operator (.fne.) interface~operator (.fne.)->proc~notequal proc~notequal_array notEqual_array interface~operator (.fne.)->proc~notequal_array proc~notequal_array->proc~equal_array