A dummy FormDouble used mainly for setting/getting the overallPrecision. More...
#include <FormDouble.h>
Inheritance diagram for formdouble::Zero:
Collaboration diagram for formdouble::Zero:Public Member Functions | |
| Zero (int precision) | |
| Implicit conversion from int possible. | |
| operator int () const | |
| returns the precision in the style of implicit conversion | |
Public Member Functions inherited from FormDouble | |
| template<typename T > | |
| const formdouble::Bound< T > | operator() (const T &) const |
Binds a value of a double-based type (e.g. double, dcomp, std::vector<double>, etc.) to the present instant. | |
| FormDouble (int precision, int width) | |
| Generic constructor. | |
| FormDouble (int precision) | |
| Constructor calculating an appropriate width from the maximal possible width of a number of the given precision in the representation of the given machine. | |
| int | getPrecision () const |
| int | getWidth () const |
Additional Inherited Members | |
Static Public Attributes inherited from FormDouble | |
| static const int | defaultPrecision |
| Ultimate default precision for streaming doubles for the whole framework. | |
| static int | overallPrecision |
| Generic overall precision accessible throughout the framework. More... | |
Related Functions inherited from FormDouble | |
| int | actualPrecision (int precision) |
If precision is larger than FormDouble::defaultPrecision, returns precision, otherwise the default. More... | |
| int | widthPositive (int precision) |
The maximal width in characters of a positive number streamed with the given precision More... | |
| int | widthAny (int precision) |
The maximal width in characters of any (positive or negative) number streamed with the given precision More... | |
| const FormDouble | low () |
Generic “low” precision (FormDouble::defaultPrecision/2) More... | |
| const FormDouble | high () |
Generic “high” precision (FormDouble::defaultPrecision) More... | |
| const FormDouble | positive (int precision) |
| const FormDouble | zeroAdditional (int precision) |
A dummy FormDouble used mainly for setting/getting the overallPrecision.
Definition at line 110 of file FormDouble.h.