|
|
|
@ -64,6 +64,9 @@ export declare class Decimal {
|
|
|
|
|
abs(): Decimal;
|
|
|
|
|
|
|
|
|
|
ceil(): Decimal;
|
|
|
|
|
|
|
|
|
|
clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;
|
|
|
|
|
clamp(min: Decimal.Value, max: Decimal.Value): Decimal;
|
|
|
|
|
|
|
|
|
|
comparedTo(n: Decimal.Value): number;
|
|
|
|
|
cmp(n: Decimal.Value): number;
|
|
|
|
@ -239,6 +242,7 @@ export declare class Decimal {
|
|
|
|
|
static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;
|
|
|
|
|
static cbrt(n: Decimal.Value): Decimal;
|
|
|
|
|
static ceil(n: Decimal.Value): Decimal;
|
|
|
|
|
static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;
|
|
|
|
|
static clone(object?: Decimal.Config): Decimal.Constructor;
|
|
|
|
|
static config(object: Decimal.Config): Decimal.Constructor;
|
|
|
|
|
static cos(n: Decimal.Value): Decimal;
|
|
|
|
@ -266,6 +270,7 @@ export declare class Decimal {
|
|
|
|
|
static sinh(n: Decimal.Value): Decimal;
|
|
|
|
|
static sqrt(n: Decimal.Value): Decimal;
|
|
|
|
|
static sub(x: Decimal.Value, y: Decimal.Value): Decimal;
|
|
|
|
|
static sum(...n: Decimal.Value[]): Decimal;
|
|
|
|
|
static tan(n: Decimal.Value): Decimal;
|
|
|
|
|
static tanh(n: Decimal.Value): Decimal;
|
|
|
|
|
static trunc(n: Decimal.Value): Decimal;
|
|
|
|
|