Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
11 lines
496 B
Plaintext
11 lines
496 B
Plaintext
import { Decimal } from "decimal.js";
|
|
import { type NumberFormatInternal } from "../types/number.js";
|
|
/**
|
|
* The abstract operation ComputeExponent computes an exponent (power of ten) by which to scale x
|
|
* according to the number formatting settings. It handles cases such as 999 rounding up to 1000,
|
|
* requiring a different exponent.
|
|
*
|
|
* NOT IN SPEC: it returns [exponent, magnitude].
|
|
*/
|
|
export declare function ComputeExponent(internalSlots: NumberFormatInternal, x: Decimal): [number, number];
|