@everymatrix/player-elevate-points-history 1.77.26 → 1.77.28
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/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/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 → builds/emfe-widgets}/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 → builds/emfe-widgets}/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 → builds/emfe-widgets}/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 → builds/emfe-widgets}/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 → builds/emfe-widgets}/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 → builds/emfe-widgets}/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 → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1178,10 +1178,10 @@ var decimal = {exports: {}};
|
|
|
1178
1178
|
|
|
1179
1179
|
|
|
1180
1180
|
/*!
|
|
1181
|
-
* decimal.js v10.
|
|
1181
|
+
* decimal.js v10.6.0
|
|
1182
1182
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
1183
1183
|
* https://github.com/MikeMcl/decimal.js
|
|
1184
|
-
* Copyright (c)
|
|
1184
|
+
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
1185
1185
|
* MIT Licence
|
|
1186
1186
|
*/
|
|
1187
1187
|
|
|
@@ -1393,8 +1393,8 @@ var decimal = {exports: {}};
|
|
|
1393
1393
|
* Return a new Decimal whose value is the value of this Decimal clamped to the range
|
|
1394
1394
|
* delineated by `min` and `max`.
|
|
1395
1395
|
*
|
|
1396
|
-
* min {number|string|Decimal}
|
|
1397
|
-
* max {number|string|Decimal}
|
|
1396
|
+
* min {number|string|bigint|Decimal}
|
|
1397
|
+
* max {number|string|bigint|Decimal}
|
|
1398
1398
|
*
|
|
1399
1399
|
*/
|
|
1400
1400
|
P.clampedTo = P.clamp = function (min, max) {
|
|
@@ -1898,8 +1898,7 @@ var decimal = {exports: {}};
|
|
|
1898
1898
|
*
|
|
1899
1899
|
*/
|
|
1900
1900
|
P.inverseCosine = P.acos = function () {
|
|
1901
|
-
var
|
|
1902
|
-
x = this,
|
|
1901
|
+
var x = this,
|
|
1903
1902
|
Ctor = x.constructor,
|
|
1904
1903
|
k = x.abs().cmp(1),
|
|
1905
1904
|
pr = Ctor.precision,
|
|
@@ -1920,13 +1919,13 @@ var decimal = {exports: {}};
|
|
|
1920
1919
|
Ctor.precision = pr + 6;
|
|
1921
1920
|
Ctor.rounding = 1;
|
|
1922
1921
|
|
|
1923
|
-
|
|
1924
|
-
|
|
1922
|
+
// See https://github.com/MikeMcl/decimal.js/pull/217
|
|
1923
|
+
x = new Ctor(1).minus(x).div(x.plus(1)).sqrt().atan();
|
|
1925
1924
|
|
|
1926
1925
|
Ctor.precision = pr;
|
|
1927
1926
|
Ctor.rounding = rm;
|
|
1928
1927
|
|
|
1929
|
-
return
|
|
1928
|
+
return x.times(2);
|
|
1930
1929
|
};
|
|
1931
1930
|
|
|
1932
1931
|
|
|
@@ -2300,7 +2299,7 @@ var decimal = {exports: {}};
|
|
|
2300
2299
|
* log[b](Infinity) = Infinity
|
|
2301
2300
|
* log[b](NaN) = NaN
|
|
2302
2301
|
*
|
|
2303
|
-
* [base] {number|string|Decimal} The base of the logarithm.
|
|
2302
|
+
* [base] {number|string|bigint|Decimal} The base of the logarithm.
|
|
2304
2303
|
*
|
|
2305
2304
|
*/
|
|
2306
2305
|
P.logarithm = P.log = function (base) {
|
|
@@ -2394,11 +2393,11 @@ var decimal = {exports: {}};
|
|
|
2394
2393
|
/*
|
|
2395
2394
|
* Return a new Decimal whose value is the maximum of the arguments and the value of this Decimal.
|
|
2396
2395
|
*
|
|
2397
|
-
* arguments {number|string|Decimal}
|
|
2396
|
+
* arguments {number|string|bigint|Decimal}
|
|
2398
2397
|
*
|
|
2399
2398
|
P.max = function () {
|
|
2400
2399
|
Array.prototype.push.call(arguments, this);
|
|
2401
|
-
return maxOrMin(this.constructor, arguments,
|
|
2400
|
+
return maxOrMin(this.constructor, arguments, -1);
|
|
2402
2401
|
};
|
|
2403
2402
|
*/
|
|
2404
2403
|
|
|
@@ -2406,11 +2405,11 @@ var decimal = {exports: {}};
|
|
|
2406
2405
|
/*
|
|
2407
2406
|
* Return a new Decimal whose value is the minimum of the arguments and the value of this Decimal.
|
|
2408
2407
|
*
|
|
2409
|
-
* arguments {number|string|Decimal}
|
|
2408
|
+
* arguments {number|string|bigint|Decimal}
|
|
2410
2409
|
*
|
|
2411
2410
|
P.min = function () {
|
|
2412
2411
|
Array.prototype.push.call(arguments, this);
|
|
2413
|
-
return maxOrMin(this.constructor, arguments,
|
|
2412
|
+
return maxOrMin(this.constructor, arguments, 1);
|
|
2414
2413
|
};
|
|
2415
2414
|
*/
|
|
2416
2415
|
|
|
@@ -3229,7 +3228,7 @@ var decimal = {exports: {}};
|
|
|
3229
3228
|
* denominator. If a maximum denominator is not specified, the denominator will be the lowest
|
|
3230
3229
|
* value necessary to represent the number exactly.
|
|
3231
3230
|
*
|
|
3232
|
-
* [maxD] {number|string|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
|
|
3231
|
+
* [maxD] {number|string|bigint|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
|
|
3233
3232
|
*
|
|
3234
3233
|
*/
|
|
3235
3234
|
P.toFraction = function (maxD) {
|
|
@@ -3317,7 +3316,7 @@ var decimal = {exports: {}};
|
|
|
3317
3316
|
*
|
|
3318
3317
|
* The return value is not affected by the value of `precision`.
|
|
3319
3318
|
*
|
|
3320
|
-
* y {number|string|Decimal} The magnitude to round to a multiple of.
|
|
3319
|
+
* y {number|string|bigint|Decimal} The magnitude to round to a multiple of.
|
|
3321
3320
|
* [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
|
|
3322
3321
|
*
|
|
3323
3322
|
* 'toNearest() rounding mode not an integer: {rm}'
|
|
@@ -3437,7 +3436,7 @@ var decimal = {exports: {}};
|
|
|
3437
3436
|
*
|
|
3438
3437
|
* If a result is incorrectly rounded the maximum error will be 1 ulp (unit in last place).
|
|
3439
3438
|
*
|
|
3440
|
-
* y {number|string|Decimal} The power to which to raise this Decimal.
|
|
3439
|
+
* y {number|string|bigint|Decimal} The power to which to raise this Decimal.
|
|
3441
3440
|
*
|
|
3442
3441
|
*/
|
|
3443
3442
|
P.toPower = P.pow = function (y) {
|
|
@@ -4421,19 +4420,25 @@ var decimal = {exports: {}};
|
|
|
4421
4420
|
|
|
4422
4421
|
|
|
4423
4422
|
/*
|
|
4424
|
-
* Handle `max` and `min
|
|
4423
|
+
* Handle `max` (`n` is -1) and `min` (`n` is 1).
|
|
4425
4424
|
*/
|
|
4426
|
-
function maxOrMin(Ctor, args,
|
|
4427
|
-
var y,
|
|
4425
|
+
function maxOrMin(Ctor, args, n) {
|
|
4426
|
+
var k, y,
|
|
4428
4427
|
x = new Ctor(args[0]),
|
|
4429
4428
|
i = 0;
|
|
4430
4429
|
|
|
4431
4430
|
for (; ++i < args.length;) {
|
|
4432
4431
|
y = new Ctor(args[i]);
|
|
4432
|
+
|
|
4433
|
+
// NaN?
|
|
4433
4434
|
if (!y.s) {
|
|
4434
4435
|
x = y;
|
|
4435
4436
|
break;
|
|
4436
|
-
}
|
|
4437
|
+
}
|
|
4438
|
+
|
|
4439
|
+
k = x.cmp(y);
|
|
4440
|
+
|
|
4441
|
+
if (k === n || k === 0 && x.s === n) {
|
|
4437
4442
|
x = y;
|
|
4438
4443
|
}
|
|
4439
4444
|
}
|
|
@@ -4692,6 +4697,8 @@ var decimal = {exports: {}};
|
|
|
4692
4697
|
function parseDecimal(x, str) {
|
|
4693
4698
|
var e, i, len;
|
|
4694
4699
|
|
|
4700
|
+
// TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
|
|
4701
|
+
|
|
4695
4702
|
// Decimal point?
|
|
4696
4703
|
if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
|
|
4697
4704
|
|
|
@@ -5157,7 +5164,7 @@ var decimal = {exports: {}};
|
|
|
5157
5164
|
/*
|
|
5158
5165
|
* Return a new Decimal whose value is the absolute value of `x`.
|
|
5159
5166
|
*
|
|
5160
|
-
* x {number|string|Decimal}
|
|
5167
|
+
* x {number|string|bigint|Decimal}
|
|
5161
5168
|
*
|
|
5162
5169
|
*/
|
|
5163
5170
|
function abs(x) {
|
|
@@ -5168,7 +5175,7 @@ var decimal = {exports: {}};
|
|
|
5168
5175
|
/*
|
|
5169
5176
|
* Return a new Decimal whose value is the arccosine in radians of `x`.
|
|
5170
5177
|
*
|
|
5171
|
-
* x {number|string|Decimal}
|
|
5178
|
+
* x {number|string|bigint|Decimal}
|
|
5172
5179
|
*
|
|
5173
5180
|
*/
|
|
5174
5181
|
function acos(x) {
|
|
@@ -5180,7 +5187,7 @@ var decimal = {exports: {}};
|
|
|
5180
5187
|
* Return a new Decimal whose value is the inverse of the hyperbolic cosine of `x`, rounded to
|
|
5181
5188
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5182
5189
|
*
|
|
5183
|
-
* x {number|string|Decimal} A value in radians.
|
|
5190
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5184
5191
|
*
|
|
5185
5192
|
*/
|
|
5186
5193
|
function acosh(x) {
|
|
@@ -5192,8 +5199,8 @@ var decimal = {exports: {}};
|
|
|
5192
5199
|
* Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant
|
|
5193
5200
|
* digits using rounding mode `rounding`.
|
|
5194
5201
|
*
|
|
5195
|
-
* x {number|string|Decimal}
|
|
5196
|
-
* y {number|string|Decimal}
|
|
5202
|
+
* x {number|string|bigint|Decimal}
|
|
5203
|
+
* y {number|string|bigint|Decimal}
|
|
5197
5204
|
*
|
|
5198
5205
|
*/
|
|
5199
5206
|
function add(x, y) {
|
|
@@ -5205,7 +5212,7 @@ var decimal = {exports: {}};
|
|
|
5205
5212
|
* Return a new Decimal whose value is the arcsine in radians of `x`, rounded to `precision`
|
|
5206
5213
|
* significant digits using rounding mode `rounding`.
|
|
5207
5214
|
*
|
|
5208
|
-
* x {number|string|Decimal}
|
|
5215
|
+
* x {number|string|bigint|Decimal}
|
|
5209
5216
|
*
|
|
5210
5217
|
*/
|
|
5211
5218
|
function asin(x) {
|
|
@@ -5217,7 +5224,7 @@ var decimal = {exports: {}};
|
|
|
5217
5224
|
* Return a new Decimal whose value is the inverse of the hyperbolic sine of `x`, rounded to
|
|
5218
5225
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5219
5226
|
*
|
|
5220
|
-
* x {number|string|Decimal} A value in radians.
|
|
5227
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5221
5228
|
*
|
|
5222
5229
|
*/
|
|
5223
5230
|
function asinh(x) {
|
|
@@ -5229,7 +5236,7 @@ var decimal = {exports: {}};
|
|
|
5229
5236
|
* Return a new Decimal whose value is the arctangent in radians of `x`, rounded to `precision`
|
|
5230
5237
|
* significant digits using rounding mode `rounding`.
|
|
5231
5238
|
*
|
|
5232
|
-
* x {number|string|Decimal}
|
|
5239
|
+
* x {number|string|bigint|Decimal}
|
|
5233
5240
|
*
|
|
5234
5241
|
*/
|
|
5235
5242
|
function atan(x) {
|
|
@@ -5241,7 +5248,7 @@ var decimal = {exports: {}};
|
|
|
5241
5248
|
* Return a new Decimal whose value is the inverse of the hyperbolic tangent of `x`, rounded to
|
|
5242
5249
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5243
5250
|
*
|
|
5244
|
-
* x {number|string|Decimal} A value in radians.
|
|
5251
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5245
5252
|
*
|
|
5246
5253
|
*/
|
|
5247
5254
|
function atanh(x) {
|
|
@@ -5256,8 +5263,8 @@ var decimal = {exports: {}};
|
|
|
5256
5263
|
* Domain: [-Infinity, Infinity]
|
|
5257
5264
|
* Range: [-pi, pi]
|
|
5258
5265
|
*
|
|
5259
|
-
* y {number|string|Decimal} The y-coordinate.
|
|
5260
|
-
* x {number|string|Decimal} The x-coordinate.
|
|
5266
|
+
* y {number|string|bigint|Decimal} The y-coordinate.
|
|
5267
|
+
* x {number|string|bigint|Decimal} The x-coordinate.
|
|
5261
5268
|
*
|
|
5262
5269
|
* atan2(±0, -0) = ±pi
|
|
5263
5270
|
* atan2(±0, +0) = ±0
|
|
@@ -5322,7 +5329,7 @@ var decimal = {exports: {}};
|
|
|
5322
5329
|
* Return a new Decimal whose value is the cube root of `x`, rounded to `precision` significant
|
|
5323
5330
|
* digits using rounding mode `rounding`.
|
|
5324
5331
|
*
|
|
5325
|
-
* x {number|string|Decimal}
|
|
5332
|
+
* x {number|string|bigint|Decimal}
|
|
5326
5333
|
*
|
|
5327
5334
|
*/
|
|
5328
5335
|
function cbrt(x) {
|
|
@@ -5333,7 +5340,7 @@ var decimal = {exports: {}};
|
|
|
5333
5340
|
/*
|
|
5334
5341
|
* Return a new Decimal whose value is `x` rounded to an integer using `ROUND_CEIL`.
|
|
5335
5342
|
*
|
|
5336
|
-
* x {number|string|Decimal}
|
|
5343
|
+
* x {number|string|bigint|Decimal}
|
|
5337
5344
|
*
|
|
5338
5345
|
*/
|
|
5339
5346
|
function ceil(x) {
|
|
@@ -5344,9 +5351,9 @@ var decimal = {exports: {}};
|
|
|
5344
5351
|
/*
|
|
5345
5352
|
* Return a new Decimal whose value is `x` clamped to the range delineated by `min` and `max`.
|
|
5346
5353
|
*
|
|
5347
|
-
* x {number|string|Decimal}
|
|
5348
|
-
* min {number|string|Decimal}
|
|
5349
|
-
* max {number|string|Decimal}
|
|
5354
|
+
* x {number|string|bigint|Decimal}
|
|
5355
|
+
* min {number|string|bigint|Decimal}
|
|
5356
|
+
* max {number|string|bigint|Decimal}
|
|
5350
5357
|
*
|
|
5351
5358
|
*/
|
|
5352
5359
|
function clamp(x, min, max) {
|
|
@@ -5420,7 +5427,7 @@ var decimal = {exports: {}};
|
|
|
5420
5427
|
* Return a new Decimal whose value is the cosine of `x`, rounded to `precision` significant
|
|
5421
5428
|
* digits using rounding mode `rounding`.
|
|
5422
5429
|
*
|
|
5423
|
-
* x {number|string|Decimal} A value in radians.
|
|
5430
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5424
5431
|
*
|
|
5425
5432
|
*/
|
|
5426
5433
|
function cos(x) {
|
|
@@ -5432,7 +5439,7 @@ var decimal = {exports: {}};
|
|
|
5432
5439
|
* Return a new Decimal whose value is the hyperbolic cosine of `x`, rounded to precision
|
|
5433
5440
|
* significant digits using rounding mode `rounding`.
|
|
5434
5441
|
*
|
|
5435
|
-
* x {number|string|Decimal} A value in radians.
|
|
5442
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5436
5443
|
*
|
|
5437
5444
|
*/
|
|
5438
5445
|
function cosh(x) {
|
|
@@ -5452,7 +5459,7 @@ var decimal = {exports: {}};
|
|
|
5452
5459
|
* The Decimal constructor and exported function.
|
|
5453
5460
|
* Return a new Decimal instance.
|
|
5454
5461
|
*
|
|
5455
|
-
* v {number|string|Decimal} A numeric value.
|
|
5462
|
+
* v {number|string|bigint|Decimal} A numeric value.
|
|
5456
5463
|
*
|
|
5457
5464
|
*/
|
|
5458
5465
|
function Decimal(v) {
|
|
@@ -5466,7 +5473,6 @@ var decimal = {exports: {}};
|
|
|
5466
5473
|
// which points to Object.
|
|
5467
5474
|
x.constructor = Decimal;
|
|
5468
5475
|
|
|
5469
|
-
// Duplicate.
|
|
5470
5476
|
if (isDecimalInstance(v)) {
|
|
5471
5477
|
x.s = v.s;
|
|
5472
5478
|
|
|
@@ -5531,9 +5537,10 @@ var decimal = {exports: {}};
|
|
|
5531
5537
|
}
|
|
5532
5538
|
|
|
5533
5539
|
return;
|
|
5540
|
+
}
|
|
5534
5541
|
|
|
5535
|
-
// Infinity
|
|
5536
|
-
|
|
5542
|
+
// Infinity or NaN?
|
|
5543
|
+
if (v * 0 !== 0) {
|
|
5537
5544
|
if (!v) x.s = NaN;
|
|
5538
5545
|
x.e = NaN;
|
|
5539
5546
|
x.d = null;
|
|
@@ -5541,22 +5548,32 @@ var decimal = {exports: {}};
|
|
|
5541
5548
|
}
|
|
5542
5549
|
|
|
5543
5550
|
return parseDecimal(x, v.toString());
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
if (t === 'string') {
|
|
5554
|
+
if ((i = v.charCodeAt(0)) === 45) { // minus sign
|
|
5555
|
+
v = v.slice(1);
|
|
5556
|
+
x.s = -1;
|
|
5557
|
+
} else {
|
|
5558
|
+
if (i === 43) v = v.slice(1); // plus sign
|
|
5559
|
+
x.s = 1;
|
|
5560
|
+
}
|
|
5544
5561
|
|
|
5545
|
-
|
|
5546
|
-
throw Error(invalidArgument + v);
|
|
5562
|
+
return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
|
|
5547
5563
|
}
|
|
5548
5564
|
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5565
|
+
if (t === 'bigint') {
|
|
5566
|
+
if (v < 0) {
|
|
5567
|
+
v = -v;
|
|
5568
|
+
x.s = -1;
|
|
5569
|
+
} else {
|
|
5570
|
+
x.s = 1;
|
|
5571
|
+
}
|
|
5572
|
+
|
|
5573
|
+
return parseDecimal(x, v.toString());
|
|
5557
5574
|
}
|
|
5558
5575
|
|
|
5559
|
-
|
|
5576
|
+
throw Error(invalidArgument + v);
|
|
5560
5577
|
}
|
|
5561
5578
|
|
|
5562
5579
|
Decimal.prototype = P;
|
|
@@ -5633,8 +5650,8 @@ var decimal = {exports: {}};
|
|
|
5633
5650
|
* Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant
|
|
5634
5651
|
* digits using rounding mode `rounding`.
|
|
5635
5652
|
*
|
|
5636
|
-
* x {number|string|Decimal}
|
|
5637
|
-
* y {number|string|Decimal}
|
|
5653
|
+
* x {number|string|bigint|Decimal}
|
|
5654
|
+
* y {number|string|bigint|Decimal}
|
|
5638
5655
|
*
|
|
5639
5656
|
*/
|
|
5640
5657
|
function div(x, y) {
|
|
@@ -5646,7 +5663,7 @@ var decimal = {exports: {}};
|
|
|
5646
5663
|
* Return a new Decimal whose value is the natural exponential of `x`, rounded to `precision`
|
|
5647
5664
|
* significant digits using rounding mode `rounding`.
|
|
5648
5665
|
*
|
|
5649
|
-
* x {number|string|Decimal} The power to which to raise the base of the natural log.
|
|
5666
|
+
* x {number|string|bigint|Decimal} The power to which to raise the base of the natural log.
|
|
5650
5667
|
*
|
|
5651
5668
|
*/
|
|
5652
5669
|
function exp(x) {
|
|
@@ -5657,7 +5674,7 @@ var decimal = {exports: {}};
|
|
|
5657
5674
|
/*
|
|
5658
5675
|
* Return a new Decimal whose value is `x` round to an integer using `ROUND_FLOOR`.
|
|
5659
5676
|
*
|
|
5660
|
-
* x {number|string|Decimal}
|
|
5677
|
+
* x {number|string|bigint|Decimal}
|
|
5661
5678
|
*
|
|
5662
5679
|
*/
|
|
5663
5680
|
function floor(x) {
|
|
@@ -5671,7 +5688,7 @@ var decimal = {exports: {}};
|
|
|
5671
5688
|
*
|
|
5672
5689
|
* hypot(a, b, ...) = sqrt(a^2 + b^2 + ...)
|
|
5673
5690
|
*
|
|
5674
|
-
* arguments {number|string|Decimal}
|
|
5691
|
+
* arguments {number|string|bigint|Decimal}
|
|
5675
5692
|
*
|
|
5676
5693
|
*/
|
|
5677
5694
|
function hypot() {
|
|
@@ -5713,7 +5730,7 @@ var decimal = {exports: {}};
|
|
|
5713
5730
|
* Return a new Decimal whose value is the natural logarithm of `x`, rounded to `precision`
|
|
5714
5731
|
* significant digits using rounding mode `rounding`.
|
|
5715
5732
|
*
|
|
5716
|
-
* x {number|string|Decimal}
|
|
5733
|
+
* x {number|string|bigint|Decimal}
|
|
5717
5734
|
*
|
|
5718
5735
|
*/
|
|
5719
5736
|
function ln(x) {
|
|
@@ -5727,8 +5744,8 @@ var decimal = {exports: {}};
|
|
|
5727
5744
|
*
|
|
5728
5745
|
* log[y](x)
|
|
5729
5746
|
*
|
|
5730
|
-
* x {number|string|Decimal} The argument of the logarithm.
|
|
5731
|
-
* y {number|string|Decimal} The base of the logarithm.
|
|
5747
|
+
* x {number|string|bigint|Decimal} The argument of the logarithm.
|
|
5748
|
+
* y {number|string|bigint|Decimal} The base of the logarithm.
|
|
5732
5749
|
*
|
|
5733
5750
|
*/
|
|
5734
5751
|
function log(x, y) {
|
|
@@ -5740,7 +5757,7 @@ var decimal = {exports: {}};
|
|
|
5740
5757
|
* Return a new Decimal whose value is the base 2 logarithm of `x`, rounded to `precision`
|
|
5741
5758
|
* significant digits using rounding mode `rounding`.
|
|
5742
5759
|
*
|
|
5743
|
-
* x {number|string|Decimal}
|
|
5760
|
+
* x {number|string|bigint|Decimal}
|
|
5744
5761
|
*
|
|
5745
5762
|
*/
|
|
5746
5763
|
function log2(x) {
|
|
@@ -5752,7 +5769,7 @@ var decimal = {exports: {}};
|
|
|
5752
5769
|
* Return a new Decimal whose value is the base 10 logarithm of `x`, rounded to `precision`
|
|
5753
5770
|
* significant digits using rounding mode `rounding`.
|
|
5754
5771
|
*
|
|
5755
|
-
* x {number|string|Decimal}
|
|
5772
|
+
* x {number|string|bigint|Decimal}
|
|
5756
5773
|
*
|
|
5757
5774
|
*/
|
|
5758
5775
|
function log10(x) {
|
|
@@ -5763,22 +5780,22 @@ var decimal = {exports: {}};
|
|
|
5763
5780
|
/*
|
|
5764
5781
|
* Return a new Decimal whose value is the maximum of the arguments.
|
|
5765
5782
|
*
|
|
5766
|
-
* arguments {number|string|Decimal}
|
|
5783
|
+
* arguments {number|string|bigint|Decimal}
|
|
5767
5784
|
*
|
|
5768
5785
|
*/
|
|
5769
5786
|
function max() {
|
|
5770
|
-
return maxOrMin(this, arguments,
|
|
5787
|
+
return maxOrMin(this, arguments, -1);
|
|
5771
5788
|
}
|
|
5772
5789
|
|
|
5773
5790
|
|
|
5774
5791
|
/*
|
|
5775
5792
|
* Return a new Decimal whose value is the minimum of the arguments.
|
|
5776
5793
|
*
|
|
5777
|
-
* arguments {number|string|Decimal}
|
|
5794
|
+
* arguments {number|string|bigint|Decimal}
|
|
5778
5795
|
*
|
|
5779
5796
|
*/
|
|
5780
5797
|
function min() {
|
|
5781
|
-
return maxOrMin(this, arguments,
|
|
5798
|
+
return maxOrMin(this, arguments, 1);
|
|
5782
5799
|
}
|
|
5783
5800
|
|
|
5784
5801
|
|
|
@@ -5786,8 +5803,8 @@ var decimal = {exports: {}};
|
|
|
5786
5803
|
* Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits
|
|
5787
5804
|
* using rounding mode `rounding`.
|
|
5788
5805
|
*
|
|
5789
|
-
* x {number|string|Decimal}
|
|
5790
|
-
* y {number|string|Decimal}
|
|
5806
|
+
* x {number|string|bigint|Decimal}
|
|
5807
|
+
* y {number|string|bigint|Decimal}
|
|
5791
5808
|
*
|
|
5792
5809
|
*/
|
|
5793
5810
|
function mod(x, y) {
|
|
@@ -5799,8 +5816,8 @@ var decimal = {exports: {}};
|
|
|
5799
5816
|
* Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant
|
|
5800
5817
|
* digits using rounding mode `rounding`.
|
|
5801
5818
|
*
|
|
5802
|
-
* x {number|string|Decimal}
|
|
5803
|
-
* y {number|string|Decimal}
|
|
5819
|
+
* x {number|string|bigint|Decimal}
|
|
5820
|
+
* y {number|string|bigint|Decimal}
|
|
5804
5821
|
*
|
|
5805
5822
|
*/
|
|
5806
5823
|
function mul(x, y) {
|
|
@@ -5812,8 +5829,8 @@ var decimal = {exports: {}};
|
|
|
5812
5829
|
* Return a new Decimal whose value is `x` raised to the power `y`, rounded to precision
|
|
5813
5830
|
* significant digits using rounding mode `rounding`.
|
|
5814
5831
|
*
|
|
5815
|
-
* x {number|string|Decimal} The base.
|
|
5816
|
-
* y {number|string|Decimal} The exponent.
|
|
5832
|
+
* x {number|string|bigint|Decimal} The base.
|
|
5833
|
+
* y {number|string|bigint|Decimal} The exponent.
|
|
5817
5834
|
*
|
|
5818
5835
|
*/
|
|
5819
5836
|
function pow(x, y) {
|
|
@@ -5931,7 +5948,7 @@ var decimal = {exports: {}};
|
|
|
5931
5948
|
*
|
|
5932
5949
|
* To emulate `Math.round`, set rounding to 7 (ROUND_HALF_CEIL).
|
|
5933
5950
|
*
|
|
5934
|
-
* x {number|string|Decimal}
|
|
5951
|
+
* x {number|string|bigint|Decimal}
|
|
5935
5952
|
*
|
|
5936
5953
|
*/
|
|
5937
5954
|
function round(x) {
|
|
@@ -5947,7 +5964,7 @@ var decimal = {exports: {}};
|
|
|
5947
5964
|
* -0 if x is -0,
|
|
5948
5965
|
* NaN otherwise
|
|
5949
5966
|
*
|
|
5950
|
-
* x {number|string|Decimal}
|
|
5967
|
+
* x {number|string|bigint|Decimal}
|
|
5951
5968
|
*
|
|
5952
5969
|
*/
|
|
5953
5970
|
function sign(x) {
|
|
@@ -5960,7 +5977,7 @@ var decimal = {exports: {}};
|
|
|
5960
5977
|
* Return a new Decimal whose value is the sine of `x`, rounded to `precision` significant digits
|
|
5961
5978
|
* using rounding mode `rounding`.
|
|
5962
5979
|
*
|
|
5963
|
-
* x {number|string|Decimal} A value in radians.
|
|
5980
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5964
5981
|
*
|
|
5965
5982
|
*/
|
|
5966
5983
|
function sin(x) {
|
|
@@ -5972,7 +5989,7 @@ var decimal = {exports: {}};
|
|
|
5972
5989
|
* Return a new Decimal whose value is the hyperbolic sine of `x`, rounded to `precision`
|
|
5973
5990
|
* significant digits using rounding mode `rounding`.
|
|
5974
5991
|
*
|
|
5975
|
-
* x {number|string|Decimal} A value in radians.
|
|
5992
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
5976
5993
|
*
|
|
5977
5994
|
*/
|
|
5978
5995
|
function sinh(x) {
|
|
@@ -5984,7 +6001,7 @@ var decimal = {exports: {}};
|
|
|
5984
6001
|
* Return a new Decimal whose value is the square root of `x`, rounded to `precision` significant
|
|
5985
6002
|
* digits using rounding mode `rounding`.
|
|
5986
6003
|
*
|
|
5987
|
-
* x {number|string|Decimal}
|
|
6004
|
+
* x {number|string|bigint|Decimal}
|
|
5988
6005
|
*
|
|
5989
6006
|
*/
|
|
5990
6007
|
function sqrt(x) {
|
|
@@ -5996,8 +6013,8 @@ var decimal = {exports: {}};
|
|
|
5996
6013
|
* Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits
|
|
5997
6014
|
* using rounding mode `rounding`.
|
|
5998
6015
|
*
|
|
5999
|
-
* x {number|string|Decimal}
|
|
6000
|
-
* y {number|string|Decimal}
|
|
6016
|
+
* x {number|string|bigint|Decimal}
|
|
6017
|
+
* y {number|string|bigint|Decimal}
|
|
6001
6018
|
*
|
|
6002
6019
|
*/
|
|
6003
6020
|
function sub(x, y) {
|
|
@@ -6011,7 +6028,7 @@ var decimal = {exports: {}};
|
|
|
6011
6028
|
*
|
|
6012
6029
|
* Only the result is rounded, not the intermediate calculations.
|
|
6013
6030
|
*
|
|
6014
|
-
* arguments {number|string|Decimal}
|
|
6031
|
+
* arguments {number|string|bigint|Decimal}
|
|
6015
6032
|
*
|
|
6016
6033
|
*/
|
|
6017
6034
|
function sum() {
|
|
@@ -6031,7 +6048,7 @@ var decimal = {exports: {}};
|
|
|
6031
6048
|
* Return a new Decimal whose value is the tangent of `x`, rounded to `precision` significant
|
|
6032
6049
|
* digits using rounding mode `rounding`.
|
|
6033
6050
|
*
|
|
6034
|
-
* x {number|string|Decimal} A value in radians.
|
|
6051
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
6035
6052
|
*
|
|
6036
6053
|
*/
|
|
6037
6054
|
function tan(x) {
|
|
@@ -6043,7 +6060,7 @@ var decimal = {exports: {}};
|
|
|
6043
6060
|
* Return a new Decimal whose value is the hyperbolic tangent of `x`, rounded to `precision`
|
|
6044
6061
|
* significant digits using rounding mode `rounding`.
|
|
6045
6062
|
*
|
|
6046
|
-
* x {number|string|Decimal} A value in radians.
|
|
6063
|
+
* x {number|string|bigint|Decimal} A value in radians.
|
|
6047
6064
|
*
|
|
6048
6065
|
*/
|
|
6049
6066
|
function tanh(x) {
|
|
@@ -6054,7 +6071,7 @@ var decimal = {exports: {}};
|
|
|
6054
6071
|
/*
|
|
6055
6072
|
* Return a new Decimal whose value is `x` truncated to an integer.
|
|
6056
6073
|
*
|
|
6057
|
-
* x {number|string|Decimal}
|
|
6074
|
+
* x {number|string|bigint|Decimal}
|
|
6058
6075
|
*
|
|
6059
6076
|
*/
|
|
6060
6077
|
function trunc(x) {
|