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

Function exactness

test/compute-engine/exact-gaussian.test.ts:18–20  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

16const i = 'ImaginaryUnit';
17
18function exactness(e: any): boolean | undefined {
19 return isNumber(e) ? e.isExact : undefined;
20}
21
22describe('exact Gaussian literals', () => {
23 it('Add(2, 3i) folds to a single exact literal', () => {

Callers 1

Calls 1

isNumberFunction · 0.90

Tested by

no test coverage detected