ManaPlus
Public Types | Static Public Member Functions | Static Public Attributes
std::numeric_limits< mse::CInt > Class Reference

#include <mseprimitives.h>

Public Types

typedef long int _Ty
 

Static Public Member Functions

static constexpr _Ty() min ()
 
static constexpr _Ty() max ()
 
static constexpr _Ty lowest ()
 
static constexpr _Ty epsilon ()
 
static constexpr _Ty round_error ()
 
static constexpr _Ty denorm_min ()
 
static constexpr _Ty infinity ()
 
static constexpr _Ty quiet_NaN ()
 
static constexpr _Ty signaling_NaN ()
 

Static Public Attributes

static constexpr float_denorm_style has_denorm = static_cast< float_denorm_style >( numeric_limits< long int >::has_denorm )
 
static constexpr bool has_denorm_loss = static_cast< bool >( numeric_limits< long int >::has_denorm_loss )
 
static constexpr bool has_infinity = static_cast< bool >( numeric_limits< long int >::has_infinity )
 
static constexpr bool has_quiet_NaN = static_cast< bool >( numeric_limits< long int >::has_quiet_NaN )
 
static constexpr bool has_signaling_NaN = static_cast< bool >( numeric_limits< long int >::has_signaling_NaN )
 
static constexpr bool is_bounded = static_cast< bool >( numeric_limits< long int >::is_bounded )
 
static constexpr bool is_exact = static_cast< bool >( numeric_limits< long int >::is_exact )
 
static constexpr bool is_iec559 = static_cast< bool >( numeric_limits< long int >::is_iec559 )
 
static constexpr bool is_integer = static_cast< bool >( numeric_limits< long int >::is_integer )
 
static constexpr bool is_modulo = static_cast< bool >( numeric_limits< long int >::is_modulo )
 
static constexpr bool is_signed = static_cast< bool >( numeric_limits< long int >::is_signed )
 
static constexpr bool is_specialized = static_cast< bool >( numeric_limits< long int >::is_specialized )
 
static constexpr bool tinyness_before = static_cast< bool >( numeric_limits< long int >::tinyness_before )
 
static constexpr bool traps = static_cast< bool >( numeric_limits< long int >::traps )
 
static constexpr float_round_style round_style = static_cast< float_round_style >( numeric_limits< long int >::round_style )
 
static constexpr int digits = static_cast< int >( numeric_limits< long int >::digits )
 
static constexpr int digits10 = static_cast< int >( numeric_limits< long int >::digits10 )
 
static constexpr int max_digits10 = static_cast< int >( numeric_limits< long int >::max_digits10 )
 
static constexpr int max_exponent = static_cast< int >( numeric_limits< long int >::max_exponent )
 
static constexpr int max_exponent10 = static_cast< int >( numeric_limits< long int >::max_exponent10 )
 
static constexpr int min_exponent = static_cast< int >( numeric_limits< long int >::min_exponent )
 
static constexpr int min_exponent10 = static_cast< int >( numeric_limits< long int >::min_exponent10 )
 
static constexpr int radix = static_cast< int >( numeric_limits< long int >::radix )
 

Detailed Description

Definition at line 406 of file mseprimitives.h.

Member Typedef Documentation

◆ _Ty

typedef long int std::numeric_limits< mse::CInt >::_Ty

Definition at line 408 of file mseprimitives.h.

Member Function Documentation

◆ denorm_min()

static constexpr _Ty std::numeric_limits< mse::CInt >::denorm_min ( )
inlinestaticconstexpr

Definition at line 430 of file mseprimitives.h.

431  { // return minimum denormalized value
432  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::denorm_min();
433  }

◆ epsilon()

static constexpr _Ty std::numeric_limits< mse::CInt >::epsilon ( )
inlinestaticconstexpr

Definition at line 422 of file mseprimitives.h.

423  { // return smallest effective increment from 1.0
424  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::epsilon();
425  }

◆ infinity()

static constexpr _Ty std::numeric_limits< mse::CInt >::infinity ( )
inlinestaticconstexpr

Definition at line 434 of file mseprimitives.h.

435  { // return positive infinity
436  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::infinity();
437  }

◆ lowest()

static constexpr _Ty std::numeric_limits< mse::CInt >::lowest ( )
inlinestaticconstexpr

Definition at line 418 of file mseprimitives.h.

419  { // return most negative value
420  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::lowest();
421  }

◆ max()

static constexpr _Ty() std::numeric_limits< mse::CInt >::max ( )
inlinestaticconstexpr

Definition at line 414 of file mseprimitives.h.

415  { // return maximum value
416  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::max();
417  }

◆ min()

static constexpr _Ty() std::numeric_limits< mse::CInt >::min ( )
inlinestaticconstexpr

Definition at line 410 of file mseprimitives.h.

411  { // return minimum value
412  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::min();
413  }

◆ quiet_NaN()

static constexpr _Ty std::numeric_limits< mse::CInt >::quiet_NaN ( )
inlinestaticconstexpr

Definition at line 438 of file mseprimitives.h.

439  { // return non-signaling NaN
440  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::quiet_NaN();
441  }

◆ round_error()

static constexpr _Ty std::numeric_limits< mse::CInt >::round_error ( )
inlinestaticconstexpr

Definition at line 426 of file mseprimitives.h.

427  { // return largest rounding error
428  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::round_error();
429  }

◆ signaling_NaN()

static constexpr _Ty std::numeric_limits< mse::CInt >::signaling_NaN ( )
inlinestaticconstexpr

Definition at line 442 of file mseprimitives.h.

443  { // return signaling NaN
444  return numeric_limits<MSE_CINT_BASE_INTEGER_TYPE>::signaling_NaN();
445  }

Field Documentation

◆ digits

constexpr int std::numeric_limits< mse::CInt >::digits = static_cast< int >( numeric_limits< long int >::digits )
staticconstexpr

Definition at line 461 of file mseprimitives.h.

◆ digits10

constexpr int std::numeric_limits< mse::CInt >::digits10 = static_cast< int >( numeric_limits< long int >::digits10 )
staticconstexpr

Definition at line 462 of file mseprimitives.h.

◆ has_denorm

constexpr float_denorm_style std::numeric_limits< mse::CInt >::has_denorm = static_cast< float_denorm_style >( numeric_limits< long int >::has_denorm )
staticconstexpr

Definition at line 446 of file mseprimitives.h.

◆ has_denorm_loss

constexpr bool std::numeric_limits< mse::CInt >::has_denorm_loss = static_cast< bool >( numeric_limits< long int >::has_denorm_loss )
staticconstexpr

Definition at line 447 of file mseprimitives.h.

◆ has_infinity

constexpr bool std::numeric_limits< mse::CInt >::has_infinity = static_cast< bool >( numeric_limits< long int >::has_infinity )
staticconstexpr

Definition at line 448 of file mseprimitives.h.

◆ has_quiet_NaN

constexpr bool std::numeric_limits< mse::CInt >::has_quiet_NaN = static_cast< bool >( numeric_limits< long int >::has_quiet_NaN )
staticconstexpr

Definition at line 449 of file mseprimitives.h.

◆ has_signaling_NaN

constexpr bool std::numeric_limits< mse::CInt >::has_signaling_NaN = static_cast< bool >( numeric_limits< long int >::has_signaling_NaN )
staticconstexpr

Definition at line 450 of file mseprimitives.h.

◆ is_bounded

constexpr bool std::numeric_limits< mse::CInt >::is_bounded = static_cast< bool >( numeric_limits< long int >::is_bounded )
staticconstexpr

Definition at line 451 of file mseprimitives.h.

◆ is_exact

constexpr bool std::numeric_limits< mse::CInt >::is_exact = static_cast< bool >( numeric_limits< long int >::is_exact )
staticconstexpr

Definition at line 452 of file mseprimitives.h.

◆ is_iec559

constexpr bool std::numeric_limits< mse::CInt >::is_iec559 = static_cast< bool >( numeric_limits< long int >::is_iec559 )
staticconstexpr

Definition at line 453 of file mseprimitives.h.

◆ is_integer

constexpr bool std::numeric_limits< mse::CInt >::is_integer = static_cast< bool >( numeric_limits< long int >::is_integer )
staticconstexpr

Definition at line 454 of file mseprimitives.h.

◆ is_modulo

constexpr bool std::numeric_limits< mse::CInt >::is_modulo = static_cast< bool >( numeric_limits< long int >::is_modulo )
staticconstexpr

Definition at line 455 of file mseprimitives.h.

◆ is_signed

constexpr bool std::numeric_limits< mse::CInt >::is_signed = static_cast< bool >( numeric_limits< long int >::is_signed )
staticconstexpr

Definition at line 456 of file mseprimitives.h.

◆ is_specialized

constexpr bool std::numeric_limits< mse::CInt >::is_specialized = static_cast< bool >( numeric_limits< long int >::is_specialized )
staticconstexpr

Definition at line 457 of file mseprimitives.h.

◆ max_digits10

constexpr int std::numeric_limits< mse::CInt >::max_digits10 = static_cast< int >( numeric_limits< long int >::max_digits10 )
staticconstexpr

Definition at line 463 of file mseprimitives.h.

◆ max_exponent

constexpr int std::numeric_limits< mse::CInt >::max_exponent = static_cast< int >( numeric_limits< long int >::max_exponent )
staticconstexpr

Definition at line 464 of file mseprimitives.h.

◆ max_exponent10

constexpr int std::numeric_limits< mse::CInt >::max_exponent10 = static_cast< int >( numeric_limits< long int >::max_exponent10 )
staticconstexpr

Definition at line 465 of file mseprimitives.h.

◆ min_exponent

constexpr int std::numeric_limits< mse::CInt >::min_exponent = static_cast< int >( numeric_limits< long int >::min_exponent )
staticconstexpr

Definition at line 466 of file mseprimitives.h.

◆ min_exponent10

constexpr int std::numeric_limits< mse::CInt >::min_exponent10 = static_cast< int >( numeric_limits< long int >::min_exponent10 )
staticconstexpr

Definition at line 467 of file mseprimitives.h.

◆ radix

constexpr int std::numeric_limits< mse::CInt >::radix = static_cast< int >( numeric_limits< long int >::radix )
staticconstexpr

Definition at line 468 of file mseprimitives.h.

◆ round_style

constexpr float_round_style std::numeric_limits< mse::CInt >::round_style = static_cast< float_round_style >( numeric_limits< long int >::round_style )
staticconstexpr

Definition at line 460 of file mseprimitives.h.

◆ tinyness_before

constexpr bool std::numeric_limits< mse::CInt >::tinyness_before = static_cast< bool >( numeric_limits< long int >::tinyness_before )
staticconstexpr

Definition at line 458 of file mseprimitives.h.

◆ traps

constexpr bool std::numeric_limits< mse::CInt >::traps = static_cast< bool >( numeric_limits< long int >::traps )
staticconstexpr

Definition at line 459 of file mseprimitives.h.


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