| 833 | } |
| 834 | |
| 835 | bigint FixedPointType::minIntegerValue() const |
| 836 | { |
| 837 | if (isSigned()) |
| 838 | { |
| 839 | bigint minValue = -(bigint(1) << (m_totalBits - (isSigned() ? 1 : 0))); |
| 840 | return minValue / boost::multiprecision::pow(bigint(10), m_fractionalDigits); |
| 841 | } |
| 842 | else |
| 843 | return bigint(0); |
| 844 | } |
| 845 | |
| 846 | TypeResult FixedPointType::binaryOperatorResult(Token _operator, Type const* _other) const |
| 847 | { |
no test coverage detected