|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Numeric traits for the built-in double type. More...
#include <num_traits.hpp>
Public Types | |
| using | Real = double |
| The real companion type. | |
| using | Complex = complex_dbl |
| The complex companion type. | |
Static Public Member Functions | |
| static unsigned | NumDigits () |
| The number of significant digits (16 for double). | |
| static unsigned | NumFuzzyDigits () |
| The number of digits to trust for fuzzy comparisons. | |
| static unsigned | TolToDigits (NumErrorT tol) |
| Convert a tracking tolerance to a number of significant digits. | |
| static double | FromString (std::string const &s) |
| Parse a double from a string. | |
| static double | FromRational (mpq_rational const &n, unsigned) |
| Convert an exact rational to a double (precision ignored). | |
Numeric traits for the built-in double type.
| using bertini::NumTraits< double >::Complex = complex_dbl |
The complex companion type.
| using bertini::NumTraits< double >::Real = double |
The real companion type.
|
inlinestatic |
Convert an exact rational to a double (precision ignored).
|
inlinestatic |
Parse a double from a string.
|
inlinestatic |
The number of significant digits (16 for double).
|
inlinestatic |
The number of digits to trust for fuzzy comparisons.
|
inlinestatic |
Convert a tracking tolerance to a number of significant digits.