* If every value flattened from `ops` is an exact, finite real number, return * them as boxed expressions; otherwise `null` (caller falls back to the float * path).
(ops: ReadonlyArray<Expression>)
| 679 | const vals = exactData(xs); |
| 680 | if (vals) return exactMedianOf(engine, sortExact(vals)); |
| 681 | } |
| 682 | return engine.number( |
| 683 | bignumPreferred(engine) |
| 684 | ? bigMedian(bigScalarsOf(xs)) |
| 685 | : median(scalarsOf(xs)) |
| 686 | ); |
| 687 | }, |
| 688 | }, |
| 689 | |
| 690 | Variance: { |
| 691 | description: 'Sample variance of a collection of numbers.', |
no test coverage detected