| 107 | } |
| 108 | |
| 109 | BasicDecimal32 BasicDecimal32::GetMaxValue(int32_t precision) { |
| 110 | DCHECK_GE(precision, 0); |
| 111 | DCHECK_LE(precision, kMaxPrecision); |
| 112 | return DecimalTraits<BasicDecimal32>::powers_of_ten()[precision]; |
| 113 | } |
| 114 | |
| 115 | BasicDecimal32 BasicDecimal32::IncreaseScaleBy(int32_t increase_by) const { |
| 116 | DCHECK_GE(increase_by, 0); |
nothing calls this directly
no outgoing calls
no test coverage detected