@everymatrix/player-elevate-points-history 1.86.4 → 1.86.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +102 -85
- package/dist/esm/bonus-pagination-limits_6.entry.js +102 -85
- package/dist/player-elevate-points-history/bonus-pagination-limits_6.entry.js +3 -3
- package/package.json +1 -1
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/main.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/preview.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1241,10 +1241,10 @@ var decimal = {exports: {}};
|
|
|
1241
1241
|
|
|
1242
1242
|
|
|
1243
1243
|
/*!
|
|
1244
|
-
* decimal.js v10.
|
|
1244
|
+
* decimal.js v10.5.0
|
|
1245
1245
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
1246
1246
|
* https://github.com/MikeMcl/decimal.js
|
|
1247
|
-
* Copyright (c)
|
|
1247
|
+
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
1248
1248
|
* MIT Licence
|
|
1249
1249
|
*/
|
|
1250
1250
|
|
|
@@ -1456,8 +1456,8 @@ var decimal = {exports: {}};
|
|
|
1456
1456
|
* Return a new Decimal whose value is the value of this Decimal clamped to the range
|
|
1457
1457
|
* delineated by `min` and `max`.
|
|
1458
1458
|
*
|
|
1459
|
-
* min {number|string|Decimal}
|
|
1460
|
-
* max {number|string|Decimal}
|
|
1459
|
+
* min {number|string|bigint|Decimal}
|
|
1460
|
+
* max {number|string|bigint|Decimal}
|
|
1461
1461
|
*
|
|
1462
1462
|
*/
|
|
1463
1463
|
P.clampedTo = P.clamp = function (min, max) {
|
|
@@ -1961,8 +1961,7 @@ var decimal = {exports: {}};
|
|
|
1961
1961
|
*
|
|
1962
1962
|
*/
|
|
1963
1963
|
P.inverseCosine = P.acos = function () {
|
|
1964
|
-
var
|
|
1965
|
-
x = this,
|
|
1964
|
+
var x = this,
|
|
1966
1965
|
Ctor = x.constructor,
|
|
1967
1966
|
k = x.abs().cmp(1),
|
|
1968
1967
|
pr = Ctor.precision,
|
|
@@ -1983,13 +1982,13 @@ var decimal = {exports: {}};
|
|
|
1983
1982
|
Ctor.precision = pr + 6;
|
|
1984
1983
|
Ctor.rounding = 1;
|
|
1985
1984
|
|
|
1986
|
-
|
|
1987
|
-
|
|
1985
|
+
// See https://github.com/MikeMcl/decimal.js/pull/217
|
|
1986
|
+
x = new Ctor(1).minus(x).div(x.plus(1)).sqrt().atan();
|
|
1988
1987
|
|
|
1989
1988
|
Ctor.precision = pr;
|
|
1990
1989
|
Ctor.rounding = rm;
|
|
1991
1990
|
|
|
1992
|
-
return
|
|
1991
|
+
return x.times(2);
|
|
1993
1992
|
};
|
|
1994
1993
|
|
|
1995
1994
|
|
|
@@ -2363,7 +2362,7 @@ var decimal = {exports: {}};
|
|
|
2363
2362
|
* log[b](Infinity) = Infinity
|
|
2364
2363
|
* log[b](NaN) = NaN
|
|
2365
2364
|
*
|
|
2366
|
-
* [base] {number|string|Decimal} The base of the logarithm.
|
|
2365
|
+
* [base] {number|string|bigint|Decimal} The base of the logarithm.
|
|
2367
2366
|
*
|
|
2368
2367
|
*/
|
|
2369
2368
|
P.logarithm = P.log = function (base) {
|
|
@@ -2457,11 +2456,11 @@ var decimal = {exports: {}};
|
|
|
2457
2456
|
/*
|
|
2458
2457
|
* Return a new Decimal whose value is the maximum of the arguments and the value of this Decimal.
|
|
2459
2458
|
*
|
|
2460
|
-
* arguments {number|string|Decimal}
|
|
2459
|
+
* arguments {number|string|bigint|Decimal}
|
|
2461
2460
|
*
|
|
2462
2461
|
P.max = function () {
|
|
2463
2462
|
Array.prototype.push.call(arguments, this);
|
|
2464
|
-
return maxOrMin(this.constructor, arguments,
|
|
2463
|
+
return maxOrMin(this.constructor, arguments, -1);
|
|
2465
2464
|
};
|
|
2466
2465
|
*/
|
|
2467
2466
|
|
|
@@ -2469,11 +2468,11 @@ var decimal = {exports: {}};
|
|
|
2469
2468
|
/*
|
|
2470
2469
|
* Return a new Decimal whose value is the minimum of the arguments and the value of this Decimal.
|
|
2471
2470
|
*
|
|
2472
|
-
* arguments {number|string|Decimal}
|
|
2471
|
+
* arguments {number|string|bigint|Decimal}
|
|
2473
2472
|
*
|
|
2474
2473
|
P.min = function () {
|
|
2475
2474
|
Array.prototype.push.call(arguments, this);
|
|
2476
|
-
return maxOrMin(this.constructor, arguments,
|
|
2475
|
+
return maxOrMin(this.constructor, arguments, 1);
|
|
2477
2476
|
};
|
|
2478
2477
|
*/
|
|
2479
2478
|
|
|
@@ -3292,7 +3291,7 @@ var decimal = {exports: {}};
|
|
|
3292
3291
|
* denominator. If a maximum denominator is not specified, the denominator will be the lowest
|
|
3293
3292
|
* value necessary to represent the number exactly.
|
|
3294
3293
|
*
|
|
3295
|
-
* [maxD] {number|string|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
|
|
3294
|
+
* [maxD] {number|string|bigint|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
|
|
3296
3295
|
*
|
|
3297
3296
|
*/
|
|
3298
3297
|
P.toFraction = function (maxD) {
|
|
@@ -3380,7 +3379,7 @@ var decimal = {exports: {}};
|
|
|
3380
3379
|
*
|
|
3381
3380
|
* The return value is not affected by the value of `precision`.
|
|
3382
3381
|
*
|
|
3383
|
-
* y {number|string|Decimal} The magnitude to round to a multiple of.
|
|
3382
|
+
* y {number|string|bigint|Decimal} The magnitude to round to a multiple of.
|
|
3384
3383
|
* [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
|
|
3385
3384
|
*
|
|
3386
3385
|
* 'toNearest() rounding mode not an integer: {rm}'
|
|
@@ -3500,7 +3499,7 @@ var decimal = {exports: {}};
|
|
|
3500
3499
|
*
|
|
3501
3500
|
* If a result is incorrectly rounded the maximum error will be 1 ulp (unit in last place).
|
|
3502
3501
|
*
|
|
3503
|
-
* y {number|string|Decimal} The power to which to raise this Decimal.
|
|
3502
|
+
* y {number|string|bigint|Decimal} The power to which to raise this Decimal.
|
|
3504
3503
|
*
|
|
3505
3504
|
*/
|
|
3506
3505
|
P.toPower = P.pow = function (y) {
|
|
@@ -4484,19 +4483,25 @@ var decimal = {exports: {}};
|
|
|
4484
4483
|
|
|
4485
4484
|
|
|
4486
4485
|
/*
|
|
4487
|
-
* Handle `max` and `min
|
|
4486
|
+
* Handle `max` (`n` is -1) and `min` (`n` is 1).
|
|
4488
4487
|
*/
|
|
4489
|
-
function maxOrMin(Ctor, args,
|
|
4490
|
-
var y,
|
|
4488
|
+
function maxOrMin(Ctor, args, n) {
|
|
4489
|
+
var k, y,
|
|
4491
4490
|
x = new Ctor(args[0]),
|
|
4492
4491
|
i = 0;
|
|
4493
4492
|
|
|
4494
4493
|
for (; ++i < args.length;) {
|
|
4495
4494
|
y = new Ctor(args[i]);
|
|
4495
|
+
|
|
4496
|
+
// NaN?
|
|
4496
4497
|
if (!y.s) {
|
|
4497
4498
|
x = y;
|
|
4498
4499
|
break;
|
|
4499
|
-
}
|
|
4500
|
+
}
|
|
4501
|
+
|
|
4502
|
+
k = x.cmp(y);
|
|
4503
|
+
|
|
4504
|
+
if (k === n || k === 0 && x.s === n) {
|
|
4500
4505
|
x = y;
|
|
4501
4506
|
}
|
|
4502
4507
|
}
|
|
@@ -4755,6 +4760,8 @@ var decimal = {exports: {}};
|
|
|
4755
4760
|
function parseDecimal(x, str) {
|
|
4756
4761
|
var e, i, len;
|
|
4757
4762
|
|
|
4763
|
+
// TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
|
|
4764
|
+
|
|
4758
4765
|
// Decimal point?
|
|
4759
4766
|
if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
|
|
4760
4767
|
|
|
@@ -5220,7 +5227,7 @@ var decimal = {exports: {}};
|
|
|
5220
5227
|
/*
|
|
5221
5228
|
* Return a new Decimal whose value is the absolute value of `x`.
|
|
5222
5229
|
*
|
|
5223
|
-
* x {number|string|Decimal}
|
|
5230
|
+
* x {number|string|bigint|Decimal}
|
|
5224
5231
|
*
|
|
5225
5232
|
*/
|
|
5226
5233
|
function abs(x) {
|
|
@@ -5231,7 +5238,7 @@ var decimal = {exports: {}};
|
|
|
5231
5238
|
/*
|
|
5232
5239
|
* Return a new Decimal whose value is the arccosine in radians of `x`.
|
|
5233
5240
|
*
|
|
5234
|
-
* x {number|string|Decimal}
|
|
5241
|
+
* x {number|string|bigint|Decimal}
|
|
5235
5242
|
*
|
|
5236
5243
|
*/
|
|
5237
5244
|
function acos(x) {
|
|
@@ -5243,7 +5250,7 @@ var decimal = {exports: {}};
|
|
|
5243
5250
|
* Return a new Decimal whose value is the inverse of the hyperbolic cosine of `x`, rounded to
|
|
5244
5251
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5245
5252
|
*
|
|
5246
|
-
* x {number|string|Decimal} A value in radians.
|
|
5253
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5247
5254
|
*
|
|
5248
5255
|
*/
|
|
5249
5256
|
function acosh(x) {
|
|
@@ -5255,8 +5262,8 @@ var decimal = {exports: {}};
|
|
|
5255
5262
|
* Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant
|
|
5256
5263
|
* digits using rounding mode `rounding`.
|
|
5257
5264
|
*
|
|
5258
|
-
* x {number|string|Decimal}
|
|
5259
|
-
* y {number|string|Decimal}
|
|
5265
|
+
* x {number|string|bigint|Decimal}
|
|
5266
|
+
* y {number|string|bigint|Decimal}
|
|
5260
5267
|
*
|
|
5261
5268
|
*/
|
|
5262
5269
|
function add(x, y) {
|
|
@@ -5268,7 +5275,7 @@ var decimal = {exports: {}};
|
|
|
5268
5275
|
* Return a new Decimal whose value is the arcsine in radians of `x`, rounded to `precision`
|
|
5269
5276
|
* significant digits using rounding mode `rounding`.
|
|
5270
5277
|
*
|
|
5271
|
-
* x {number|string|Decimal}
|
|
5278
|
+
* x {number|string|bigint|Decimal}
|
|
5272
5279
|
*
|
|
5273
5280
|
*/
|
|
5274
5281
|
function asin(x) {
|
|
@@ -5280,7 +5287,7 @@ var decimal = {exports: {}};
|
|
|
5280
5287
|
* Return a new Decimal whose value is the inverse of the hyperbolic sine of `x`, rounded to
|
|
5281
5288
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5282
5289
|
*
|
|
5283
|
-
* x {number|string|Decimal} A value in radians.
|
|
5290
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5284
5291
|
*
|
|
5285
5292
|
*/
|
|
5286
5293
|
function asinh(x) {
|
|
@@ -5292,7 +5299,7 @@ var decimal = {exports: {}};
|
|
|
5292
5299
|
* Return a new Decimal whose value is the arctangent in radians of `x`, rounded to `precision`
|
|
5293
5300
|
* significant digits using rounding mode `rounding`.
|
|
5294
5301
|
*
|
|
5295
|
-
* x {number|string|Decimal}
|
|
5302
|
+
* x {number|string|bigint|Decimal}
|
|
5296
5303
|
*
|
|
5297
5304
|
*/
|
|
5298
5305
|
function atan(x) {
|
|
@@ -5304,7 +5311,7 @@ var decimal = {exports: {}};
|
|
|
5304
5311
|
* Return a new Decimal whose value is the inverse of the hyperbolic tangent of `x`, rounded to
|
|
5305
5312
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5306
5313
|
*
|
|
5307
|
-
* x {number|string|Decimal} A value in radians.
|
|
5314
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5308
5315
|
*
|
|
5309
5316
|
*/
|
|
5310
5317
|
function atanh(x) {
|
|
@@ -5319,8 +5326,8 @@ var decimal = {exports: {}};
|
|
|
5319
5326
|
* Domain: [-Infinity, Infinity]
|
|
5320
5327
|
* Range: [-pi, pi]
|
|
5321
5328
|
*
|
|
5322
|
-
* y {number|string|Decimal} The y-coordinate.
|
|
5323
|
-
* x {number|string|Decimal} The x-coordinate.
|
|
5329
|
+
* y {number|string|bigint|Decimal} The y-coordinate.
|
|
5330
|
+
* x {number|string|bigint|Decimal} The x-coordinate.
|
|
5324
5331
|
*
|
|
5325
5332
|
* atan2(±0, -0) = ±pi
|
|
5326
5333
|
* atan2(±0, +0) = ±0
|
|
@@ -5385,7 +5392,7 @@ var decimal = {exports: {}};
|
|
|
5385
5392
|
* Return a new Decimal whose value is the cube root of `x`, rounded to `precision` significant
|
|
5386
5393
|
* digits using rounding mode `rounding`.
|
|
5387
5394
|
*
|
|
5388
|
-
* x {number|string|Decimal}
|
|
5395
|
+
* x {number|string|bigint|Decimal}
|
|
5389
5396
|
*
|
|
5390
5397
|
*/
|
|
5391
5398
|
function cbrt(x) {
|
|
@@ -5396,7 +5403,7 @@ var decimal = {exports: {}};
|
|
|
5396
5403
|
/*
|
|
5397
5404
|
* Return a new Decimal whose value is `x` rounded to an integer using `ROUND_CEIL`.
|
|
5398
5405
|
*
|
|
5399
|
-
* x {number|string|Decimal}
|
|
5406
|
+
* x {number|string|bigint|Decimal}
|
|
5400
5407
|
*
|
|
5401
5408
|
*/
|
|
5402
5409
|
function ceil(x) {
|
|
@@ -5407,9 +5414,9 @@ var decimal = {exports: {}};
|
|
|
5407
5414
|
/*
|
|
5408
5415
|
* Return a new Decimal whose value is `x` clamped to the range delineated by `min` and `max`.
|
|
5409
5416
|
*
|
|
5410
|
-
* x {number|string|Decimal}
|
|
5411
|
-
* min {number|string|Decimal}
|
|
5412
|
-
* max {number|string|Decimal}
|
|
5417
|
+
* x {number|string|bigint|Decimal}
|
|
5418
|
+
* min {number|string|bigint|Decimal}
|
|
5419
|
+
* max {number|string|bigint|Decimal}
|
|
5413
5420
|
*
|
|
5414
5421
|
*/
|
|
5415
5422
|
function clamp(x, min, max) {
|
|
@@ -5483,7 +5490,7 @@ var decimal = {exports: {}};
|
|
|
5483
5490
|
* Return a new Decimal whose value is the cosine of `x`, rounded to `precision` significant
|
|
5484
5491
|
* digits using rounding mode `rounding`.
|
|
5485
5492
|
*
|
|
5486
|
-
* x {number|string|Decimal} A value in radians.
|
|
5493
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5487
5494
|
*
|
|
5488
5495
|
*/
|
|
5489
5496
|
function cos(x) {
|
|
@@ -5495,7 +5502,7 @@ var decimal = {exports: {}};
|
|
|
5495
5502
|
* Return a new Decimal whose value is the hyperbolic cosine of `x`, rounded to precision
|
|
5496
5503
|
* significant digits using rounding mode `rounding`.
|
|
5497
5504
|
*
|
|
5498
|
-
* x {number|string|Decimal} A value in radians.
|
|
5505
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5499
5506
|
*
|
|
5500
5507
|
*/
|
|
5501
5508
|
function cosh(x) {
|
|
@@ -5515,7 +5522,7 @@ var decimal = {exports: {}};
|
|
|
5515
5522
|
* The Decimal constructor and exported function.
|
|
5516
5523
|
* Return a new Decimal instance.
|
|
5517
5524
|
*
|
|
5518
|
-
* v {number|string|Decimal} A numeric value.
|
|
5525
|
+
* v {number|string|bigint|Decimal} A numeric value.
|
|
5519
5526
|
*
|
|
5520
5527
|
*/
|
|
5521
5528
|
function Decimal(v) {
|
|
@@ -5529,7 +5536,6 @@ var decimal = {exports: {}};
|
|
|
5529
5536
|
// which points to Object.
|
|
5530
5537
|
x.constructor = Decimal;
|
|
5531
5538
|
|
|
5532
|
-
// Duplicate.
|
|
5533
5539
|
if (isDecimalInstance(v)) {
|
|
5534
5540
|
x.s = v.s;
|
|
5535
5541
|
|
|
@@ -5594,9 +5600,10 @@ var decimal = {exports: {}};
|
|
|
5594
5600
|
}
|
|
5595
5601
|
|
|
5596
5602
|
return;
|
|
5603
|
+
}
|
|
5597
5604
|
|
|
5598
|
-
// Infinity
|
|
5599
|
-
|
|
5605
|
+
// Infinity or NaN?
|
|
5606
|
+
if (v * 0 !== 0) {
|
|
5600
5607
|
if (!v) x.s = NaN;
|
|
5601
5608
|
x.e = NaN;
|
|
5602
5609
|
x.d = null;
|
|
@@ -5604,22 +5611,32 @@ var decimal = {exports: {}};
|
|
|
5604
5611
|
}
|
|
5605
5612
|
|
|
5606
5613
|
return parseDecimal(x, v.toString());
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
if (t === 'string') {
|
|
5617
|
+
if ((i = v.charCodeAt(0)) === 45) { // minus sign
|
|
5618
|
+
v = v.slice(1);
|
|
5619
|
+
x.s = -1;
|
|
5620
|
+
} else {
|
|
5621
|
+
if (i === 43) v = v.slice(1); // plus sign
|
|
5622
|
+
x.s = 1;
|
|
5623
|
+
}
|
|
5607
5624
|
|
|
5608
|
-
|
|
5609
|
-
throw Error(invalidArgument + v);
|
|
5625
|
+
return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
|
|
5610
5626
|
}
|
|
5611
5627
|
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5628
|
+
if (t === 'bigint') {
|
|
5629
|
+
if (v < 0) {
|
|
5630
|
+
v = -v;
|
|
5631
|
+
x.s = -1;
|
|
5632
|
+
} else {
|
|
5633
|
+
x.s = 1;
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5636
|
+
return parseDecimal(x, v.toString());
|
|
5620
5637
|
}
|
|
5621
5638
|
|
|
5622
|
-
|
|
5639
|
+
throw Error(invalidArgument + v);
|
|
5623
5640
|
}
|
|
5624
5641
|
|
|
5625
5642
|
Decimal.prototype = P;
|
|
@@ -5696,8 +5713,8 @@ var decimal = {exports: {}};
|
|
|
5696
5713
|
* Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant
|
|
5697
5714
|
* digits using rounding mode `rounding`.
|
|
5698
5715
|
*
|
|
5699
|
-
* x {number|string|Decimal}
|
|
5700
|
-
* y {number|string|Decimal}
|
|
5716
|
+
* x {number|string|bigint|Decimal}
|
|
5717
|
+
* y {number|string|bigint|Decimal}
|
|
5701
5718
|
*
|
|
5702
5719
|
*/
|
|
5703
5720
|
function div(x, y) {
|
|
@@ -5709,7 +5726,7 @@ var decimal = {exports: {}};
|
|
|
5709
5726
|
* Return a new Decimal whose value is the natural exponential of `x`, rounded to `precision`
|
|
5710
5727
|
* significant digits using rounding mode `rounding`.
|
|
5711
5728
|
*
|
|
5712
|
-
* x {number|string|Decimal} The power to which to raise the base of the natural log.
|
|
5729
|
+
* x {number|string|bigint|Decimal} The power to which to raise the base of the natural log.
|
|
5713
5730
|
*
|
|
5714
5731
|
*/
|
|
5715
5732
|
function exp(x) {
|
|
@@ -5720,7 +5737,7 @@ var decimal = {exports: {}};
|
|
|
5720
5737
|
/*
|
|
5721
5738
|
* Return a new Decimal whose value is `x` round to an integer using `ROUND_FLOOR`.
|
|
5722
5739
|
*
|
|
5723
|
-
* x {number|string|Decimal}
|
|
5740
|
+
* x {number|string|bigint|Decimal}
|
|
5724
5741
|
*
|
|
5725
5742
|
*/
|
|
5726
5743
|
function floor(x) {
|
|
@@ -5734,7 +5751,7 @@ var decimal = {exports: {}};
|
|
|
5734
5751
|
*
|
|
5735
5752
|
* hypot(a, b, ...) = sqrt(a^2 + b^2 + ...)
|
|
5736
5753
|
*
|
|
5737
|
-
* arguments {number|string|Decimal}
|
|
5754
|
+
* arguments {number|string|bigint|Decimal}
|
|
5738
5755
|
*
|
|
5739
5756
|
*/
|
|
5740
5757
|
function hypot() {
|
|
@@ -5776,7 +5793,7 @@ var decimal = {exports: {}};
|
|
|
5776
5793
|
* Return a new Decimal whose value is the natural logarithm of `x`, rounded to `precision`
|
|
5777
5794
|
* significant digits using rounding mode `rounding`.
|
|
5778
5795
|
*
|
|
5779
|
-
* x {number|string|Decimal}
|
|
5796
|
+
* x {number|string|bigint|Decimal}
|
|
5780
5797
|
*
|
|
5781
5798
|
*/
|
|
5782
5799
|
function ln(x) {
|
|
@@ -5790,8 +5807,8 @@ var decimal = {exports: {}};
|
|
|
5790
5807
|
*
|
|
5791
5808
|
* log[y](x)
|
|
5792
5809
|
*
|
|
5793
|
-
* x {number|string|Decimal} The argument of the logarithm.
|
|
5794
|
-
* y {number|string|Decimal} The base of the logarithm.
|
|
5810
|
+
* x {number|string|bigint|Decimal} The argument of the logarithm.
|
|
5811
|
+
* y {number|string|bigint|Decimal} The base of the logarithm.
|
|
5795
5812
|
*
|
|
5796
5813
|
*/
|
|
5797
5814
|
function log(x, y) {
|
|
@@ -5803,7 +5820,7 @@ var decimal = {exports: {}};
|
|
|
5803
5820
|
* Return a new Decimal whose value is the base 2 logarithm of `x`, rounded to `precision`
|
|
5804
5821
|
* significant digits using rounding mode `rounding`.
|
|
5805
5822
|
*
|
|
5806
|
-
* x {number|string|Decimal}
|
|
5823
|
+
* x {number|string|bigint|Decimal}
|
|
5807
5824
|
*
|
|
5808
5825
|
*/
|
|
5809
5826
|
function log2(x) {
|
|
@@ -5815,7 +5832,7 @@ var decimal = {exports: {}};
|
|
|
5815
5832
|
* Return a new Decimal whose value is the base 10 logarithm of `x`, rounded to `precision`
|
|
5816
5833
|
* significant digits using rounding mode `rounding`.
|
|
5817
5834
|
*
|
|
5818
|
-
* x {number|string|Decimal}
|
|
5835
|
+
* x {number|string|bigint|Decimal}
|
|
5819
5836
|
*
|
|
5820
5837
|
*/
|
|
5821
5838
|
function log10(x) {
|
|
@@ -5826,22 +5843,22 @@ var decimal = {exports: {}};
|
|
|
5826
5843
|
/*
|
|
5827
5844
|
* Return a new Decimal whose value is the maximum of the arguments.
|
|
5828
5845
|
*
|
|
5829
|
-
* arguments {number|string|Decimal}
|
|
5846
|
+
* arguments {number|string|bigint|Decimal}
|
|
5830
5847
|
*
|
|
5831
5848
|
*/
|
|
5832
5849
|
function max() {
|
|
5833
|
-
return maxOrMin(this, arguments,
|
|
5850
|
+
return maxOrMin(this, arguments, -1);
|
|
5834
5851
|
}
|
|
5835
5852
|
|
|
5836
5853
|
|
|
5837
5854
|
/*
|
|
5838
5855
|
* Return a new Decimal whose value is the minimum of the arguments.
|
|
5839
5856
|
*
|
|
5840
|
-
* arguments {number|string|Decimal}
|
|
5857
|
+
* arguments {number|string|bigint|Decimal}
|
|
5841
5858
|
*
|
|
5842
5859
|
*/
|
|
5843
5860
|
function min() {
|
|
5844
|
-
return maxOrMin(this, arguments,
|
|
5861
|
+
return maxOrMin(this, arguments, 1);
|
|
5845
5862
|
}
|
|
5846
5863
|
|
|
5847
5864
|
|
|
@@ -5849,8 +5866,8 @@ var decimal = {exports: {}};
|
|
|
5849
5866
|
* Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits
|
|
5850
5867
|
* using rounding mode `rounding`.
|
|
5851
5868
|
*
|
|
5852
|
-
* x {number|string|Decimal}
|
|
5853
|
-
* y {number|string|Decimal}
|
|
5869
|
+
* x {number|string|bigint|Decimal}
|
|
5870
|
+
* y {number|string|bigint|Decimal}
|
|
5854
5871
|
*
|
|
5855
5872
|
*/
|
|
5856
5873
|
function mod(x, y) {
|
|
@@ -5862,8 +5879,8 @@ var decimal = {exports: {}};
|
|
|
5862
5879
|
* Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant
|
|
5863
5880
|
* digits using rounding mode `rounding`.
|
|
5864
5881
|
*
|
|
5865
|
-
* x {number|string|Decimal}
|
|
5866
|
-
* y {number|string|Decimal}
|
|
5882
|
+
* x {number|string|bigint|Decimal}
|
|
5883
|
+
* y {number|string|bigint|Decimal}
|
|
5867
5884
|
*
|
|
5868
5885
|
*/
|
|
5869
5886
|
function mul(x, y) {
|
|
@@ -5875,8 +5892,8 @@ var decimal = {exports: {}};
|
|
|
5875
5892
|
* Return a new Decimal whose value is `x` raised to the power `y`, rounded to precision
|
|
5876
5893
|
* significant digits using rounding mode `rounding`.
|
|
5877
5894
|
*
|
|
5878
|
-
* x {number|string|Decimal} The base.
|
|
5879
|
-
* y {number|string|Decimal} The exponent.
|
|
5895
|
+
* x {number|string|bigint|Decimal} The base.
|
|
5896
|
+
* y {number|string|bigint|Decimal} The exponent.
|
|
5880
5897
|
*
|
|
5881
5898
|
*/
|
|
5882
5899
|
function pow(x, y) {
|
|
@@ -5994,7 +6011,7 @@ var decimal = {exports: {}};
|
|
|
5994
6011
|
*
|
|
5995
6012
|
* To emulate `Math.round`, set rounding to 7 (ROUND_HALF_CEIL).
|
|
5996
6013
|
*
|
|
5997
|
-
* x {number|string|Decimal}
|
|
6014
|
+
* x {number|string|bigint|Decimal}
|
|
5998
6015
|
*
|
|
5999
6016
|
*/
|
|
6000
6017
|
function round(x) {
|
|
@@ -6010,7 +6027,7 @@ var decimal = {exports: {}};
|
|
|
6010
6027
|
* -0 if x is -0,
|
|
6011
6028
|
* NaN otherwise
|
|
6012
6029
|
*
|
|
6013
|
-
* x {number|string|Decimal}
|
|
6030
|
+
* x {number|string|bigint|Decimal}
|
|
6014
6031
|
*
|
|
6015
6032
|
*/
|
|
6016
6033
|
function sign(x) {
|
|
@@ -6023,7 +6040,7 @@ var decimal = {exports: {}};
|
|
|
6023
6040
|
* Return a new Decimal whose value is the sine of `x`, rounded to `precision` significant digits
|
|
6024
6041
|
* using rounding mode `rounding`.
|
|
6025
6042
|
*
|
|
6026
|
-
* x {number|string|Decimal} A value in radians.
|
|
6043
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
6027
6044
|
*
|
|
6028
6045
|
*/
|
|
6029
6046
|
function sin(x) {
|
|
@@ -6035,7 +6052,7 @@ var decimal = {exports: {}};
|
|
|
6035
6052
|
* Return a new Decimal whose value is the hyperbolic sine of `x`, rounded to `precision`
|
|
6036
6053
|
* significant digits using rounding mode `rounding`.
|
|
6037
6054
|
*
|
|
6038
|
-
* x {number|string|Decimal} A value in radians.
|
|
6055
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
6039
6056
|
*
|
|
6040
6057
|
*/
|
|
6041
6058
|
function sinh(x) {
|
|
@@ -6047,7 +6064,7 @@ var decimal = {exports: {}};
|
|
|
6047
6064
|
* Return a new Decimal whose value is the square root of `x`, rounded to `precision` significant
|
|
6048
6065
|
* digits using rounding mode `rounding`.
|
|
6049
6066
|
*
|
|
6050
|
-
* x {number|string|Decimal}
|
|
6067
|
+
* x {number|string|bigint|Decimal}
|
|
6051
6068
|
*
|
|
6052
6069
|
*/
|
|
6053
6070
|
function sqrt(x) {
|
|
@@ -6059,8 +6076,8 @@ var decimal = {exports: {}};
|
|
|
6059
6076
|
* Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits
|
|
6060
6077
|
* using rounding mode `rounding`.
|
|
6061
6078
|
*
|
|
6062
|
-
* x {number|string|Decimal}
|
|
6063
|
-
* y {number|string|Decimal}
|
|
6079
|
+
* x {number|string|bigint|Decimal}
|
|
6080
|
+
* y {number|string|bigint|Decimal}
|
|
6064
6081
|
*
|
|
6065
6082
|
*/
|
|
6066
6083
|
function sub(x, y) {
|
|
@@ -6074,7 +6091,7 @@ var decimal = {exports: {}};
|
|
|
6074
6091
|
*
|
|
6075
6092
|
* Only the result is rounded, not the intermediate calculations.
|
|
6076
6093
|
*
|
|
6077
|
-
* arguments {number|string|Decimal}
|
|
6094
|
+
* arguments {number|string|bigint|Decimal}
|
|
6078
6095
|
*
|
|
6079
6096
|
*/
|
|
6080
6097
|
function sum() {
|
|
@@ -6094,7 +6111,7 @@ var decimal = {exports: {}};
|
|
|
6094
6111
|
* Return a new Decimal whose value is the tangent of `x`, rounded to `precision` significant
|
|
6095
6112
|
* digits using rounding mode `rounding`.
|
|
6096
6113
|
*
|
|
6097
|
-
* x {number|string|Decimal} A value in radians.
|
|
6114
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
6098
6115
|
*
|
|
6099
6116
|
*/
|
|
6100
6117
|
function tan(x) {
|
|
@@ -6106,7 +6123,7 @@ var decimal = {exports: {}};
|
|
|
6106
6123
|
* Return a new Decimal whose value is the hyperbolic tangent of `x`, rounded to `precision`
|
|
6107
6124
|
* significant digits using rounding mode `rounding`.
|
|
6108
6125
|
*
|
|
6109
|
-
* x {number|string|Decimal} A value in radians.
|
|
6126
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
6110
6127
|
*
|
|
6111
6128
|
*/
|
|
6112
6129
|
function tanh(x) {
|
|
@@ -6117,7 +6134,7 @@ var decimal = {exports: {}};
|
|
|
6117
6134
|
/*
|
|
6118
6135
|
* Return a new Decimal whose value is `x` truncated to an integer.
|
|
6119
6136
|
*
|
|
6120
|
-
* x {number|string|Decimal}
|
|
6137
|
+
* x {number|string|bigint|Decimal}
|
|
6121
6138
|
*
|
|
6122
6139
|
*/
|
|
6123
6140
|
function trunc(x) {
|