Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ abs
Function
abs
packages/effect/src/BigInt.ts:579–579 ·
view source on GitHub ↗
(n: bigint)
Source
from the content-addressed store, hash-verified
577
* @since 2.0.0
578
*/
579
export
const
abs = (n: bigint): bigint => (n < bigint0 ? -n : n)
580
581
/**
582
* Determines the greatest common divisor of two `bigint`s.
Callers
1
BigInt.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected