@brief Compare floating point numbers for equality
@details The comparison is symmetric and decorrelates atol and rtol. A good discussion can be found here https://github.com/numpy/numpy/issues/10161
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | a | |||
| real(kind=dp), | intent(in) | :: | b | |||
| real(kind=dp), | intent(in), | optional | :: | atol |
The absolute tolerance. Defaults to 0. |
|
| real(kind=dp), | intent(in), | optional | :: | rtol |
The absolute tolerance. Defaults to 0. The relative tolerance. Defaults to 1e-9. |