cf.ATOL

cf.ATOL(*arg)[source]

The value of absolute tolerance for testing numerically tolerant equality.

Parameters :
arg : int, optional

The new value of absolute tolerance. The default is to not change the current value.

Returns :
out : float

The value prior to the change, or the current value if no new value was specified.

See also

cf.RTOL

Examples

>>> cf.ATOL()
1e-08
>>> old = cf.ATOL(1e-10)
>>> cf.ATOL(old)
1e-10
>>> cf.ATOL()
1e-08

Previous topic

cf.dtne

Next topic

cf.CHUNKSIZE

This Page