cf.ATOL

cf.ATOL(*arg)[source]

The value of absolute tolerance for testing numerically tolerant equality.

See also

cf.RTOL

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.

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