cf.RTOL

cf.RTOL(*new_default)

Return or set the default value of relative tolerance for testing numerically tolerant equality.

Examples:

>>> cf.RTOL()
1.0000000000000001e-05
>>> cf.RTOL(1e-10)
>>> cf.RTOL()
1e-10

Previous topic

cf.ATOL

Next topic

cf.eq

This Page