High-precision data type to be used for Clebsch-Gordan coefficients etc. More...
#include <high_precision.h>
Public Member Functions | |
HighPrec () | |
Default ctor, initialised to zero. More... | |
HighPrec (HighPrec const &) | |
Copy ctor. More... | |
HighPrec (SYTEN_SRDEF_TYPE) | |
(explicit) ctor from a SYTEN_SRDEF_TYPE, initialises to the supplied value. More... | |
operator SYTEN_SRDEF_TYPE () const | |
(explicit) conversion to a SRDef. More... | |
bool | operator!= (HighPrec const &) const |
Not-equals comparison. More... | |
HighPrec & | operator*= (HighPrec const &) |
Multiplication. More... | |
HighPrec & | operator+= (HighPrec const &) |
Addition. More... | |
HighPrec & | operator-= (HighPrec const &) |
Subtraction. More... | |
HighPrec & | operator/= (HighPrec const &) |
Division. More... | |
bool | operator< (HighPrec const &) const |
Less-than comparison. More... | |
bool | operator<= (HighPrec const &) const |
Less-than-or-equal comparison. More... | |
HighPrec & | operator= (HighPrec const &) |
Copy assignment. More... | |
HighPrec & | operator= (SYTEN_SRDEF_TYPE) |
Assignment from a SYTEN_SRDEF_TYPE. More... | |
bool | operator== (HighPrec const &) const |
Equals comparison. More... | |
bool | operator> (HighPrec const &) const |
Greater-than comparison. More... | |
bool | operator>= (HighPrec const &) const |
Greater-than-or-equal comparison. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Serialisation. More... | |
~HighPrec () | |
Dtor, destroys the internal value. More... | |
Static Public Member Functions | |
static std::size_t | digits10 () |
Number of 10-digits representable by the internal type. More... | |
Public Attributes | |
std::aligned_storage< Size, Align >::type | data |
Storage region for the internal type value. More... | |
Static Public Attributes | |
static constexpr std::size_t | Align = 16 |
Required alignment for the internal type in bytes. More... | |
static constexpr std::size_t | Size = 64 |
Required size for the internal type in bytes. More... | |
High-precision data type to be used for Clebsch-Gordan coefficients etc.