Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/di-sukharev/opencommit
/ integerPart
Function
integerPart
out/cli.cjs:2376–2378 ·
view source on GitHub ↗
(n2)
Source
from the content-addressed store, hash-verified
2374
return
censorNegativeZero(Math.round(x5));
2375
}
2376
function
integerPart(n2) {
2377
return
censorNegativeZero(Math.trunc(n2));
2378
}
2379
function
sign(x5) {
2380
return
x5 < 0 ? -1 : 1;
2381
}
Callers
3
createIntegerConversion
Function · 0.85
createLongLongConversion
Function · 0.85
convertUnsignedLongLongWithEnforceRange
Function · 0.85
Calls
1
censorNegativeZero
Function · 0.85
Tested by
no test coverage detected