True if every solution value is exact (a π-multiple or 0), not a float.
(expr: BoxedExpression)
| 339 | }); |
| 340 | }); |
| 341 | |
| 342 | describe('SOLVE OVER A DOMAIN — periodic root-family expansion', () => { |
| 343 | /** Assert two ascending numeric lists agree within a small tolerance (CE's |
| 344 | * exact π-multiples numericize to the last ULP, not bit-identically to a |
| 345 | * JS `k*Math.PI/n`). */ |
| 346 | function expectClose(actual: number[], expected: number[]): void { |
| 347 | expect(actual.length).toBe(expected.length); |
| 348 | for (let i = 0; i < actual.length; i++) |
| 349 | expect(actual[i]).toBeCloseTo(expected[i], 10); |
| 350 | } |
| 351 |
no test coverage detected