Skip to content

Struct detail::NumericLimitsBase

template <IsFixedPoint FixedType>

ClassList > detail > NumericLimitsBase

Public Types

Type Name
typedef typename FixedType::base_type B
typedef typename FixedType::intermediate_type I

Public Static Attributes

Type Name
constexpr unsigned int F = FixedType::fraction\_bits
constexpr int digits = std::numeric\_limits&lt;B&gt;::digits
constexpr int digits10 = 1
constexpr std::float_denorm_style has_denorm = std::denorm\_absent
constexpr bool has_denorm_loss = false
constexpr bool has_infinity = false
constexpr bool has_quiet_NaN = false
constexpr bool has_signaling_NaN = false
constexpr bool is_bounded = true
constexpr bool is_exact = true
constexpr bool is_iec559 = false
constexpr bool is_integer = false
constexpr bool is_modulo = std::numeric\_limits&lt;B&gt;::is\_modulo
constexpr bool is_signed = std::numeric\_limits&lt;B&gt;::is\_signed
constexpr bool is_specialized = true
constexpr int max_digits10 = /* multi line expression */
constexpr int max_exponent = std::numeric\_limits&lt;B&gt;::digits - F
constexpr int max_exponent10 = fpm::detail::digits10(std::numeric\_limits&lt;B&gt;::digits - F)
constexpr int min_exponent = 1 - F
constexpr int min_exponent10 = -fpm::detail::digits10(F)
constexpr int radix = 2
constexpr std::float_round_style round_style = std::round\_to\_nearest
constexpr bool tinyness_before = false
constexpr bool traps = true

Public Static Functions

Type Name
constexpr FixedType denorm_min () noexcept
constexpr FixedType epsilon () noexcept
constexpr FixedType lowest () noexcept
constexpr FixedType max () noexcept
constexpr FixedType min () noexcept
constexpr FixedType round_error () noexcept

Public Types Documentation

typedef B

using detail::NumericLimitsBase< FixedType >::B =  typename FixedType::base_type;

typedef I

using detail::NumericLimitsBase< FixedType >::I =  typename FixedType::intermediate_type;

Public Static Attributes Documentation

variable F

constexpr unsigned int detail::NumericLimitsBase< FixedType >::F;

variable digits

constexpr int detail::NumericLimitsBase< FixedType >::digits;

variable digits10

constexpr int detail::NumericLimitsBase< FixedType >::digits10;

variable has_denorm

constexpr std::float_denorm_style detail::NumericLimitsBase< FixedType >::has_denorm;

variable has_denorm_loss

constexpr bool detail::NumericLimitsBase< FixedType >::has_denorm_loss;

variable has_infinity

constexpr bool detail::NumericLimitsBase< FixedType >::has_infinity;

variable has_quiet_NaN

constexpr bool detail::NumericLimitsBase< FixedType >::has_quiet_NaN;

variable has_signaling_NaN

constexpr bool detail::NumericLimitsBase< FixedType >::has_signaling_NaN;

variable is_bounded

constexpr bool detail::NumericLimitsBase< FixedType >::is_bounded;

variable is_exact

constexpr bool detail::NumericLimitsBase< FixedType >::is_exact;

variable is_iec559

constexpr bool detail::NumericLimitsBase< FixedType >::is_iec559;

variable is_integer

constexpr bool detail::NumericLimitsBase< FixedType >::is_integer;

variable is_modulo

constexpr bool detail::NumericLimitsBase< FixedType >::is_modulo;

variable is_signed

constexpr bool detail::NumericLimitsBase< FixedType >::is_signed;

variable is_specialized

constexpr bool detail::NumericLimitsBase< FixedType >::is_specialized;

variable max_digits10

constexpr int detail::NumericLimitsBase< FixedType >::max_digits10;

variable max_exponent

constexpr int detail::NumericLimitsBase< FixedType >::max_exponent;

variable max_exponent10

constexpr int detail::NumericLimitsBase< FixedType >::max_exponent10;

variable min_exponent

constexpr int detail::NumericLimitsBase< FixedType >::min_exponent;

variable min_exponent10

constexpr int detail::NumericLimitsBase< FixedType >::min_exponent10;

variable radix

constexpr int detail::NumericLimitsBase< FixedType >::radix;

variable round_style

constexpr std::float_round_style detail::NumericLimitsBase< FixedType >::round_style;

variable tinyness_before

constexpr bool detail::NumericLimitsBase< FixedType >::tinyness_before;

variable traps

constexpr bool detail::NumericLimitsBase< FixedType >::traps;

Public Static Functions Documentation

function denorm_min

static inline constexpr FixedType detail::NumericLimitsBase::denorm_min () noexcept

function epsilon

static inline constexpr FixedType detail::NumericLimitsBase::epsilon () noexcept

function lowest

static inline constexpr FixedType detail::NumericLimitsBase::lowest () noexcept

function max

static inline constexpr FixedType detail::NumericLimitsBase::max () noexcept

function min

static inline constexpr FixedType detail::NumericLimitsBase::min () noexcept

function round_error

static inline constexpr FixedType detail::NumericLimitsBase::round_error () noexcept


The documentation for this class was generated from the following file fpm_adapter.hpp