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

long double traits; nonzero fuzzy-comparison precision.

#include <NumTraits.hpp>

Inheritance diagram for mundy::NumTraits< long double >:
[legend]

Public Types

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 long double dummy_precision ()
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
 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

using mundy::GenericNumTraits< long double >::Real

◆ NonInteger

using mundy::GenericNumTraits< long double >::NonInteger

◆ Literal

using mundy::GenericNumTraits< long double >::Literal

Member Function Documentation

◆ dummy_precision() [1/2]

constexpr long double mundy::NumTraits< long double >::dummy_precision ( )
inlinestaticconstexpr

◆ epsilon()

constexpr Real mundy::GenericNumTraits< long double >::epsilon ( )
inlinestaticconstexpr

◆ dummy_precision() [2/2]

constexpr Real mundy::GenericNumTraits< long double >::dummy_precision ( )
inlinestaticconstexpr

◆ highest()

constexpr Real mundy::GenericNumTraits< long double >::highest ( )
inlinestaticconstexpr

◆ lowest()

constexpr Real mundy::GenericNumTraits< long double >::lowest ( )
inlinestaticconstexpr

◆ norm_min()

constexpr Real mundy::GenericNumTraits< long double >::norm_min ( )
inlinestaticconstexpr

◆ infinity()

constexpr Real mundy::GenericNumTraits< long double >::infinity ( )
inlinestaticconstexpr

◆ quiet_NaN()

constexpr Real mundy::GenericNumTraits< long double >::quiet_NaN ( )
inlinestaticconstexpr

Member Data Documentation

◆ IsInteger

bool mundy::GenericNumTraits< long double >::IsInteger
staticconstexpr

◆ IsSigned

bool mundy::GenericNumTraits< long double >::IsSigned
staticconstexpr

◆ IsComplex

bool mundy::GenericNumTraits< long double >::IsComplex
staticconstexpr

◆ RequireInitialization

bool mundy::GenericNumTraits< long double >::RequireInitialization
staticconstexpr