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

Function num

benchmarks/audit/audit.ts:48–48  ·  view source on GitHub ↗
(b: any)

Source from the content-addressed store, hash-verified

46 return { timeMs: median(times), minMs: Math.min(...times) };
47}
48const num = (b: any) => { const v = b.N(); return typeof v.re === 'number' ? v.re : Number(v.toString()); };
49// Sample points are scalars (univariate, substituted for x) or tuples matching
50// the case's `verify.vars` (multivariate — all variables substituted at once).
51const casePoints = (c: any): number[][] =>

Callers 2

sampleResultFunction · 0.70
runCEFunction · 0.70

Calls 2

NMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected