YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
rational.hpp 文件参考

有理数运算。 更多...

#include "type_op.hpp"
#include "operators.hpp"
#include <cmath>
#include <limits>
rational.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  ystdex::fixed_multiplicative< _type >
 定点数乘除法中间类型。 更多...
 
struct  ystdex::fixed_multiplicative< std::int64_t >
 
struct  ystdex::fixed_multiplicative< std::uint64_t >
 
class  ystdex::fixed_point< _tBase, _vInt, _vFrac >
 通用定点数。 更多...
 
class  std::numeric_limits< ystdex::fixed_point< _tBase, _vInt, _vFrac > >
 std::numeric_traitsystdex::fixed_point 特化类型。 更多...
 

命名空间

namespace  ystdex
 
namespace  std
 

函数

template<typename _tDst , typename _tSrc >
_tDst ystdex::exp2u (_tSrc n) ynoexcept
 取无符号整数的以 2 为底的无符号整数次幂,结果转换为指定目标类型。
 

详细描述

有理数运算。

版本
r1172
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 260
创建时间:
2011-11-12 23:23:47 +0800
修改时间:
2013-04-12 07:22 +0800
文本编码:
UTF-8
模块名称:
YStandardEx::Rational

在文件 rational.hpp 中定义.