Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

approx.h File Reference

Provides routines for calculating properties of real and complex numbers whilst allowing for rounding errors. More...


Namespaces

namespace  regina

Functions

template<class R>
bool isZero (R x)
 Determines whether the given real or complex number is zero.
template<class R>
bool isNonZero (R x)
 Determines whether the given real or complex number is non-zero.
template<class R>
bool isPositive (R x)
 Determines whether the given real or complex number is strictly positive.
template<class R>
bool isNegative (R x)
 Determines whether the given real or complex number is strictly negative.
template<class R>
bool isNonNegative (R x)
 Determines whether the given real or complex number is non-negative.
template<class R>
bool isNonPositive (R x)
 Determines whether the given real or complex number is non-positive.

Variables

const double epsilon
 A very small positive real designed to accommodate for rounding error.


Detailed Description

Provides routines for calculating properties of real and complex numbers whilst allowing for rounding errors.


Copyright © 1999-2004, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).