/** * Returns the sum of an array of `bigint`s. * * * **not optimized** for performance * * @param a */ function bSum( a: bigint[]): bigint { let sum = 0n; for (let i=0; i