(n: bigint)
| 359 | * @internal |
| 360 | */ |
| 361 | export const roundTerminal = (n: bigint): bigint => { |
| 362 | const pos = n >= bigint0 ? 0 : 1 |
| 363 | return Number(`${n}`[pos]) < 5 ? bigint0 : bigint1 |
| 364 | } |
| 365 | |
| 366 | /** |
| 367 | * Provides a division operation on `BigDecimal`s. |
no test coverage detected