SyTen
syten::HighPrec Struct Reference

High-precision data type to be used for Clebsch-Gordan coefficients etc. More...

#include <high_precision.h>

+ Collaboration diagram for syten::HighPrec:

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...
 
HighPrecoperator*= (HighPrec const &)
 Multiplication. More...
 
HighPrecoperator+= (HighPrec const &)
 Addition. More...
 
HighPrecoperator-= (HighPrec const &)
 Subtraction. More...
 
HighPrecoperator/= (HighPrec const &)
 Division. More...
 
bool operator< (HighPrec const &) const
 Less-than comparison. More...
 
bool operator<= (HighPrec const &) const
 Less-than-or-equal comparison. More...
 
HighPrecoperator= (HighPrec const &)
 Copy assignment. More...
 
HighPrecoperator= (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...
 

Detailed Description

High-precision data type to be used for Clebsch-Gordan coefficients etc.


The documentation for this struct was generated from the following file: