Checks whether (a-b) / max(a,eps) within tolerance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=SP), | intent(in) | :: | a |
values to be compared |
||
| real(kind=SP), | intent(in) | :: | b |
values to be compared |
||
| real(kind=SP) | :: | rtol |
relative tolerance |
|||
| real(kind=SP) | :: | atol |
minumum value for normalisation (~absolute tolerance for rtol=0) |