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

Function make

packages/effect/src/BigDecimal.ts:103–108  ·  view source on GitHub ↗
(value: bigint, scale: number)

Source from the content-addressed store, hash-verified

101 * @category constructors
102 */
103export const make = (value: bigint, scale: number): BigDecimal => {
104 const o = Object.create(BigDecimalProto)
105 o.value = value
106 o.scale = scale
107 return o
108}
109
110/**
111 * Internal function used to create pre-normalized `BigDecimal`s.

Callers 8

unsafeMakeNormalizedFunction · 0.70
BigDecimal.tsFile · 0.70
divideWithPrecisionFunction · 0.70
absFunction · 0.70
negateFunction · 0.70
fromBigIntFunction · 0.70
safeFromNumberFunction · 0.70
fromStringFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected