YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > > 模板类 参考

std::numeric_traits 的 ystdex::fixed_point 特化类型。 更多...

#include <rational.hpp>

静态 Public 成员函数

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

静态 Public 属性

static const bool is_specialized = true
 
static const int digits = _vInt
 
static const int digits10 = digits * 643L / 2136
 
static const int max_digits10 = 0
 
static const bool is_signed = numeric_limits<base_type>::is_signed
 
static const bool is_integer = {}
 
static const bool is_exact = true
 
static const int radix = 2
 
static const int min_exponent = 0
 
static const int min_exponent10 = 0
 
static const int max_exponent = 0
 
static const int max_exponent10 = 0
 
static const bool has_infinity = {}
 
static const bool has_quiet_NaN = {}
 
static const bool has_signaling_NaN = has_quiet_NaN
 
static const float_denorm_style has_denorm = denorm_absent
 
static const bool has_denorm_loss = {}
 
static const bool is_iec559 = {}
 
static const bool is_bounded = true
 
static const bool is_modulo = numeric_limits<base_type>::is_modulo
 
static const bool traps = numeric_limits<base_type>::traps
 
static const bool tinyness_before = {}
 
static const float_round_style round_style = round_toward_zero
 

Private 类型

using fp_type = ystdex::fixed_point< _tBase, _vInt, _vFrac >
 
using base_type = typename fp_type::base_type
 

详细描述

template<typename _tBase, ystdex::size_t _vInt, ystdex::size_t _vFrac>
class std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >

std::numeric_traits 的 ystdex::fixed_point 特化类型。

自从
build 260

在文件 rational.hpp546 行定义.

成员类型定义说明

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
using std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::base_type = typename fp_type::base_type
private

在文件 rational.hpp550 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
using std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::fp_type = ystdex::fixed_point<_tBase, _vInt, _vFrac>
private

在文件 rational.hpp549 行定义.

成员函数说明

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::denorm_min ( )
inlinestatic

在文件 rational.hpp625 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::epsilon ( )
inlinestatic

在文件 rational.hpp584 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::infinity ( )
inlinestatic

在文件 rational.hpp607 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::lowest ( )
inlinestatic

在文件 rational.hpp570 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::max ( )
inlinestatic

在文件 rational.hpp563 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::min ( )
inlinestatic

在文件 rational.hpp556 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::quiet_NaN ( )
inlinestatic

在文件 rational.hpp613 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::round_error ( )
inlinestatic

在文件 rational.hpp590 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
static fp_type std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::signaling_NaN ( )
inlinestatic

在文件 rational.hpp619 行定义.

类成员变量说明

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::digits = _vInt
static

在文件 rational.hpp575 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::digits10 = digits * 643L / 2136
static

在文件 rational.hpp576 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const float_denorm_style std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::has_denorm = denorm_absent
static

在文件 rational.hpp603 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::has_denorm_loss = {}
static

在文件 rational.hpp604 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::has_infinity = {}
static

在文件 rational.hpp600 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::has_quiet_NaN = {}
static

在文件 rational.hpp601 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::has_signaling_NaN = has_quiet_NaN
static

在文件 rational.hpp602 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::is_bounded = true
static

在文件 rational.hpp631 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::is_exact = true
static

在文件 rational.hpp580 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::is_iec559 = {}
static

在文件 rational.hpp630 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::is_integer = {}
static

在文件 rational.hpp579 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::is_modulo = numeric_limits<base_type>::is_modulo
static

在文件 rational.hpp632 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::is_signed = numeric_limits<base_type>::is_signed
static

在文件 rational.hpp578 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::is_specialized = true
static

在文件 rational.hpp553 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::max_digits10 = 0
static

在文件 rational.hpp577 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::max_exponent = 0
static

在文件 rational.hpp597 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::max_exponent10 = 0
static

在文件 rational.hpp598 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::min_exponent = 0
static

在文件 rational.hpp595 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::min_exponent10 = 0
static

在文件 rational.hpp596 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const int std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::radix = 2
static

在文件 rational.hpp581 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const float_round_style std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::round_style = round_toward_zero
static

在文件 rational.hpp636 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::tinyness_before = {}
static

在文件 rational.hpp635 行定义.

template<typename _tBase , ystdex::size_t _vInt, ystdex::size_t _vFrac>
const bool std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >::traps = numeric_limits<base_type>::traps
static

在文件 rational.hpp634 行定义.


该类的文档由以下文件生成: