(exp: number)
| 179 | } |
| 180 | |
| 181 | function pow5(exp: number): bigint { |
| 182 | let result = 1n; |
| 183 | for (let i = 0; i < exp; i++) { |
| 184 | result *= 5n; |
| 185 | } |
| 186 | return result; |
| 187 | } |
| 188 | |
| 189 | function normalizeParts(value: DecimalParts): DecimalParts { |
| 190 | let { unscaled, scale } = value; |