Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ sinc.test.ts
File
sinc.test.ts
test/compute-engine/sinc.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Tests
for
the Sinc (cardinal sine)
function
3
*
4
* sinc(x) = sin(x)/x with sinc(0) = 1 (unnormalized)
Callers
nothing calls this directly
Calls
8
compile
Function · 0.90
fn
Function · 0.85
sin
Method · 0.80
expr
Method · 0.65
evaluate
Method · 0.65
parse
Method · 0.65
N
Method · 0.65
abs
Method · 0.65
Tested by
no test coverage detected