Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ acos
Function
acos
external/.d3.js:17486–17488 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
17484
const
tau = 2 * pi;
17485
17486
function
acos(x) {
17487
return
x > 1 ? 0 : x < -1 ? pi : Math.acos(x);
17488
}
17489
17490
function
asin(x) {
17491
return
x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);
Callers
1
arc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected