MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / expComplexNum

Function expComplexNum

test/compute-engine/canonical-form.test.ts:807–814  ·  view source on GitHub ↗
(
          expr: string | ExpressionInput,
          type?: NumericType
        )

Source from the content-addressed store, hash-verified

805 {num: "358796515092200247647243"}
806 ]
807 canonical = [
808 "Rational",
809 {num: "-318982460862894267352492496399"},
810 {num: "358796515092200247647243"}
811 ]
812 `);
813 expect(canonNumber(bigRational).operator).toBe('Rational'); // ✔
814
815 /*
816 * Control
817 */

Callers 1

Calls 3

nonCanonFunction · 0.85
canonNumberFunction · 0.85
matchesMethod · 0.65

Tested by

no test coverage detected