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

std::numeric_traitsystdex::fixed_point 特化类型。 更多...

#include <rational.hpp>

静态 Public 成员函数

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

静态 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 = false
 
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 = false
 
static const bool has_quiet_NaN = false
 
static const bool has_signaling_NaN = has_quiet_NaN
 
static const float_denorm_style has_denorm = denorm_absent
 
static const bool has_denorm_loss = false
 
static const bool is_iec559 = false
 
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 = false
 
static const float_round_style round_style = round_toward_zero
 

Private 类型

typedef ystdex::fixed_point
< _tBase, _vInt, _vFrac > 
fp_type
 
typedef fp_type::base_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_traitsystdex::fixed_point 特化类型。

自从
build 260

在文件 rational.hpp337 行定义.

成员类型定义说明

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

在文件 rational.hpp341 行定义.

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

在文件 rational.hpp340 行定义.

成员函数说明

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.hpp408 行定义.

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.hpp372 行定义.

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.hpp393 行定义.

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.hpp359 行定义.

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.hpp353 行定义.

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.hpp347 行定义.

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.hpp398 行定义.

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.hpp377 行定义.

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.hpp403 行定义.

类成员变量说明

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.hpp363 行定义.

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.hpp364 行定义.

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.hpp389 行定义.

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 = false
static

在文件 rational.hpp390 行定义.

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

在文件 rational.hpp386 行定义.

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 = false
static

在文件 rational.hpp387 行定义.

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.hpp388 行定义.

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.hpp413 行定义.

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.hpp368 行定义.

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

在文件 rational.hpp412 行定义.

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

在文件 rational.hpp367 行定义.

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.hpp414 行定义.

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.hpp366 行定义.

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.hpp344 行定义.

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.hpp365 行定义.

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.hpp383 行定义.

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.hpp384 行定义.

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.hpp381 行定义.

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.hpp382 行定义.

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.hpp369 行定义.

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.hpp418 行定义.

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

在文件 rational.hpp417 行定义.

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.hpp416 行定义.


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