MCPcopy Index your code
hub / github.com/Effect-TS/effect / sign

Function sign

packages/effect/src/BigDecimal.ts:673–673  ·  view source on GitHub ↗
(n: BigDecimal)

Source from the content-addressed store, hash-verified

671 * @category math
672 */
673export const sign = (n: BigDecimal): Ordering => n.value === bigint0 ? 0 : n.value < bigint0 ? -1 : 1
674
675/**
676 * Determines the absolute value of a given `BigDecimal`.

Callers 1

BigDecimal.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected