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