|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
有理数运算。 更多...


类 | |
| 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_traits 的 ystdex::fixed_point 特化类型。 更多... | |
命名空间 | |
| namespace | ystdex |
| namespace | std |
函数 | |
| template<typename _tDst , typename _tSrc > | |
| _tDst | ystdex::exp2u (_tSrc n) ynoexcept |
| 取无符号整数的以 2 为底的无符号整数次幂,结果转换为指定目标类型。 | |
有理数运算。
在文件 rational.hpp 中定义.