geosolver.tolerance | index /home/rick/Programming/Python/GeoSolver/geosolver/tolerance.py |
Basic toleranced comparison functions. Intended for use on double values,
and extention to positive and negative infinity, represented by
PosInf and NegInf respectively.
Note that tol_eq(PosInf,PosInf)=True. This is matematically acceptable
if we consider PosInf as a single value, greater than any other value that
can be represented by a computer. Same for NegInf.
All toleranced comparison function accept a tolerance value. When it is
ommited or when "Default" is specified, a default value is used. This default
value is stored in the variable: default_tol.
Classes | ||||||||||||||||||
|
Functions | ||
|
Data | ||
NegInf = geosolver.tolerance.NegInf PosInf = geosolver.tolerance.PosInf default_tol = 9.9999999999999995e-07 |