| 827 | } |
| 828 | |
| 829 | bigint FixedPointType::maxIntegerValue() const |
| 830 | { |
| 831 | bigint maxValue = (bigint(1) << (m_totalBits - (isSigned() ? 1 : 0))) - 1; |
| 832 | return maxValue / boost::multiprecision::pow(bigint(10), m_fractionalDigits); |
| 833 | } |
| 834 | |
| 835 | bigint FixedPointType::minIntegerValue() const |
| 836 | { |
no test coverage detected