Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
mundy::NumTraits< DoubleDouble > Struct Reference

Numeric traits of DoubleDouble, in DoubleDouble.

#include <DoubleDouble.hpp>

Inheritance diagram for mundy::NumTraits< DoubleDouble >:
[legend]

Public Types

using Real = DoubleDouble
using NonInteger = DoubleDouble
using Literal = double
using Real
 The real-valued counterpart of T (T itself for real scalars).
using NonInteger
 A type closed under division and roots; integers widen to double, others are unchanged.
using Literal
 The type of a numeric literal paired with a value of type T.

Static Public Member Functions

static constexpr DoubleDouble epsilon ()
static constexpr DoubleDouble dummy_precision ()
static constexpr DoubleDouble highest ()
static constexpr DoubleDouble lowest ()
static constexpr DoubleDouble norm_min ()
 The smallest value whose lo part is still a normal double.
static constexpr DoubleDouble infinity ()
static constexpr DoubleDouble quiet_NaN ()
static constexpr Real epsilon ()
 Machine epsilon: the gap between 1 and the next representable value.
static constexpr Real dummy_precision ()
 Loose tolerance for fuzzy comparisons; 0 for exact types.
static constexpr Real highest ()
 Largest finite representable value.
static constexpr Real lowest ()
 Most negative finite representable value (min() for integers, -max() for floats).
static constexpr Real norm_min ()
 Smallest positive normalized value.
static constexpr Real infinity ()
 Positive infinity (or highest() for types without an infinity).
static constexpr Real quiet_NaN ()
 A quiet NaN.

Static Public Attributes

static constexpr bool IsInteger = false
static constexpr bool IsSigned = true
static constexpr bool IsComplex = false
static constexpr bool RequireInitialization = false
static constexpr bool IsInteger
 Whether T represents integers.
static constexpr bool IsSigned
 Whether T is a signed type.
static constexpr bool IsComplex
 Whether T is complex; always false (complex scalars are not supported).
static constexpr bool RequireInitialization
 Whether T must be constructed before use (true for non-trivial custom scalars).

Member Typedef Documentation

◆ Real [1/2]

◆ NonInteger [1/2]

using mundy::NumTraits< DoubleDouble >::NonInteger = DoubleDouble

◆ Literal [1/2]

using mundy::NumTraits< DoubleDouble >::Literal = double

◆ Real [2/2]

◆ NonInteger [2/2]

using mundy::GenericNumTraits< DoubleDouble >::NonInteger

◆ Literal [2/2]

Member Function Documentation

◆ epsilon() [1/2]

constexpr DoubleDouble mundy::NumTraits< DoubleDouble >::epsilon ( )
inlinestaticconstexpr

◆ dummy_precision() [1/2]

constexpr DoubleDouble mundy::NumTraits< DoubleDouble >::dummy_precision ( )
inlinestaticconstexpr

◆ highest() [1/2]

constexpr DoubleDouble mundy::NumTraits< DoubleDouble >::highest ( )
inlinestaticconstexpr

◆ lowest() [1/2]

constexpr DoubleDouble mundy::NumTraits< DoubleDouble >::lowest ( )
inlinestaticconstexpr

◆ norm_min() [1/2]

constexpr DoubleDouble mundy::NumTraits< DoubleDouble >::norm_min ( )
inlinestaticconstexpr

◆ infinity() [1/2]

constexpr DoubleDouble mundy::NumTraits< DoubleDouble >::infinity ( )
inlinestaticconstexpr

◆ quiet_NaN() [1/2]

constexpr DoubleDouble mundy::NumTraits< DoubleDouble >::quiet_NaN ( )
inlinestaticconstexpr

◆ epsilon() [2/2]

constexpr Real mundy::GenericNumTraits< DoubleDouble >::epsilon ( )
inlinestaticconstexpr

◆ dummy_precision() [2/2]

constexpr Real mundy::GenericNumTraits< DoubleDouble >::dummy_precision ( )
inlinestaticconstexpr

◆ highest() [2/2]

constexpr Real mundy::GenericNumTraits< DoubleDouble >::highest ( )
inlinestaticconstexpr

◆ lowest() [2/2]

constexpr Real mundy::GenericNumTraits< DoubleDouble >::lowest ( )
inlinestaticconstexpr

◆ norm_min() [2/2]

constexpr Real mundy::GenericNumTraits< DoubleDouble >::norm_min ( )
inlinestaticconstexpr

◆ infinity() [2/2]

constexpr Real mundy::GenericNumTraits< DoubleDouble >::infinity ( )
inlinestaticconstexpr

◆ quiet_NaN() [2/2]

constexpr Real mundy::GenericNumTraits< DoubleDouble >::quiet_NaN ( )
inlinestaticconstexpr

Member Data Documentation

◆ IsInteger [1/2]

bool mundy::NumTraits< DoubleDouble >::IsInteger = false
staticconstexpr

◆ IsSigned [1/2]

bool mundy::NumTraits< DoubleDouble >::IsSigned = true
staticconstexpr

◆ IsComplex [1/2]

bool mundy::NumTraits< DoubleDouble >::IsComplex = false
staticconstexpr

◆ RequireInitialization [1/2]

bool mundy::NumTraits< DoubleDouble >::RequireInitialization = false
staticconstexpr

◆ IsInteger [2/2]

bool mundy::GenericNumTraits< DoubleDouble >::IsInteger
staticconstexpr

◆ IsSigned [2/2]

bool mundy::GenericNumTraits< DoubleDouble >::IsSigned
staticconstexpr

◆ IsComplex [2/2]

bool mundy::GenericNumTraits< DoubleDouble >::IsComplex
staticconstexpr

◆ RequireInitialization [2/2]

bool mundy::GenericNumTraits< DoubleDouble >::RequireInitialization
staticconstexpr