(j: number)
| 1449 | expectApprox(ce.expr(['ExpIntegralEi', -2]), -0.04890051070806112, 1e-12); |
| 1450 | // Ci(−2) is the PRINCIPAL value Ci(2) + iπ (ruled 2026-09-01; the |
| 1451 | // machine kernel used to return the real part Ci(|x|) alone). |
| 1452 | const cm2 = ce.expr(['CosIntegral', -2]).N(); |
| 1453 | expect(Math.abs(cm2.re - 0.4229808287748649)).toBeLessThan(1e-12); |
| 1454 | expect(cm2.im).toBeCloseTo(Math.PI, 12); |
| 1455 | }); |
no test coverage detected