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

Function negate

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

Source from the content-addressed store, hash-verified

706 * @category math
707 */
708export const negate = (n: BigDecimal): BigDecimal => make(-n.value, n.scale)
709
710/**
711 * Returns the remainder left over when one operand is divided by a second operand.

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected