10 lines
164 B
JavaScript
10 lines
164 B
JavaScript
|
export * from './Types/bigint.mjs'
|
||
|
|
||
|
export const sign = {
|
||
|
bigint: () => b => {
|
||
|
if (b === 0n) return 0n
|
||
|
if (b > 0n) return 1n
|
||
|
return -1n
|
||
|
}
|
||
|
}
|