#include <cfloat>

Go to the source code of this file.
Classes | |
| class | CompareDoubles |
Functions | |
| double | SmallPow (double x, unsigned exponent) |
| unsigned | SmallPow (unsigned x, unsigned exponent) |
| bool | Divides (double smallerNumber, double largerNumber) |
| unsigned | CeilDivide (unsigned numerator, unsigned denominator) |
| double | Signum (double value) |
This file contains some utility functions and a small class for dealing with floating point numbers.
Definition in file MathsCustomFunctions.hpp.
| numerator | the numerator | |
| denominator | the denominator |
Definition at line 137 of file MathsCustomFunctions.cpp.
| smallerNumber | the smaller | |
| largerNumber | the larger |
Definition at line 114 of file MathsCustomFunctions.cpp.
| value | the argument value |
Definition at line 150 of file MathsCustomFunctions.cpp.
Replacement "pow" function for unsigned integer values
| x | number to be raised to a small power | |
| exponent | small integer exponent |
Definition at line 77 of file MathsCustomFunctions.cpp.
Replacement "pow" function.
| x | number to be raised to a small power | |
| exponent | small integer exponent |
Definition at line 41 of file MathsCustomFunctions.cpp.
1.6.2