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

Function floored

test/compute-engine/interval-arithmetic.test.ts:361–361  ·  view source on GitHub ↗
(a: number, b: number)

Source from the content-addressed store, hash-verified

359 const result = floor({ lo: 1.5, hi: 2.5 });
360 expect(result.kind).toBe('singular');
361 if (result.kind === 'singular') {
362 expect(result.continuity).toBe('right');
363 expect(result.at).toBe(2);
364 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected