rel_error Function

public elemental function rel_error(x, y)

rel_error

Return the absolute relative error with x as reference.

Description

Computes . The reference x must be nonzero.

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(in) :: x

Nonzero reference value.

real(kind=pr), intent(in) :: y

Value compared against the reference.

Return Value real(kind=pr)


Called by

proc~~rel_error~~CalledByGraph proc~rel_error rel_error proc~allclose allclose proc~allclose->proc~rel_error