MCPcopy Create free account
hub / github.com/apache/fory / pow5

Function pow5

javascript/packages/core/lib/compatible/scalar.ts:181–187  ·  view source on GitHub ↗
(exp: number)

Source from the content-addressed store, hash-verified

179}
180
181function pow5(exp: number): bigint {
182 let result = 1n;
183 for (let i = 0; i < exp; i++) {
184 result *= 5n;
185 }
186 return result;
187}
188
189function normalizeParts(value: DecimalParts): DecimalParts {
190 let { unscaled, scale } = value;

Callers 1

floatToPartsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected