import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const m=JSON.parse('{"title":"Class: default","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/classes/lib/break_eternity.default.md","lastUpdated":null}'),d={name:"api/classes/lib/break_eternity.default.md"},l=r('
lib/break_eternity.default
The Decimal's value is simply mantissa * 10^exponent.
• new default(value?
)
Name | Type |
---|---|
value? | DecimalSource |
profectus/src/lib/break_eternity.ts:364
• layer: number
= 0
profectus/src/lib/break_eternity.ts:362
• mag: number
= 0
profectus/src/lib/break_eternity.ts:361
• sign: number
= 0
profectus/src/lib/break_eternity.ts:360
▪ Static
dInf: default
profectus/src/lib/break_eternity.ts:353
▪ Static
dNaN: default
profectus/src/lib/break_eternity.ts:352
▪ Static
dNegInf: default
profectus/src/lib/break_eternity.ts:354
▪ Static
dNegOne: default
profectus/src/lib/break_eternity.ts:349
▪ Static
dNumberMax: default
profectus/src/lib/break_eternity.ts:355
▪ Static
dNumberMin: default
profectus/src/lib/break_eternity.ts:356
▪ Static
dOne: default
profectus/src/lib/break_eternity.ts:348
▪ Static
dTen: default
profectus/src/lib/break_eternity.ts:351
▪ Static
dTwo: default
profectus/src/lib/break_eternity.ts:350
▪ Static
dZero: default
profectus/src/lib/break_eternity.ts:347
▪ Static
Private
fromStringCache: LRUCache
<string
, default
>
profectus/src/lib/break_eternity.ts:358
• get
e(): number
number
profectus/src/lib/break_eternity.ts:409
• set
e(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:422
• get
exponent(): number
number
profectus/src/lib/break_eternity.ts:448
• set
exponent(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:451
• get
m(): number
number
profectus/src/lib/break_eternity.ts:374
• set
m(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:396
• get
mantissa(): number
number
profectus/src/lib/break_eternity.ts:440
• set
mantissa(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:444
• get
s(): number
number
profectus/src/lib/break_eternity.ts:426
• set
s(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:429
▸ abs(): default
profectus/src/lib/break_eternity.ts:1634
▸ absLog10(): default
profectus/src/lib/break_eternity.ts:2107
▸ acos(): default
profectus/src/lib/break_eternity.ts:2883
▸ acosh(): default
profectus/src/lib/break_eternity.ts:2919
▸ add(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1698
▸ ascensionPenalty(ascensions
): default
Joke function from Realm Grinder
Name | Type |
---|---|
ascensions | DecimalSource |
profectus/src/lib/break_eternity.ts:2934
▸ asin(): default
profectus/src/lib/break_eternity.ts:2873
▸ asinh(): default
profectus/src/lib/break_eternity.ts:2915
▸ atan(): default
profectus/src/lib/break_eternity.ts:2893
▸ atanh(): default
profectus/src/lib/break_eternity.ts:2923
▸ cbrt(): default
profectus/src/lib/break_eternity.ts:2361
▸ ceil(): default
profectus/src/lib/break_eternity.ts:1678
▸ clamp(min
, max
): default
Name | Type |
---|---|
min | DecimalSource |
max | DecimalSource |
profectus/src/lib/break_eternity.ts:2018
▸ clampMax(max
): default
Name | Type |
---|---|
max | DecimalSource |
profectus/src/lib/break_eternity.ts:2026
▸ clampMin(min
): default
Name | Type |
---|---|
min | DecimalSource |
profectus/src/lib/break_eternity.ts:2022
▸ cmp(value
): CompareResult
-1 for less than value, 0 for equals value, 1 for greater than value
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1921
▸ cmp_tolerance(value
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:2030
▸ cmpabs(value
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1932
▸ compare(value
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1951
▸ compare_tolerance(value
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:2035
▸ cos(): default
profectus/src/lib/break_eternity.ts:2853
▸ cosh(): default
profectus/src/lib/break_eternity.ts:2907
▸ cube(): default
profectus/src/lib/break_eternity.ts:2357
▸ div(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1883
▸ divide(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1888
▸ divideBy(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1892
▸ dividedBy(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1896
▸ egg(): default
Joke function from Cookie Clicker. It's 'egg'
profectus/src/lib/break_eternity.ts:2945
▸ eq(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1963
▸ eq_tolerance(value
, tolerance?
): boolean
Tolerance is a relative tolerance, multiplied by the greater of the magnitudes of the two arguments. For example, if you put in 1e-9, then any number closer to the larger number than (larger number)*1e-9 will be considered equal.
Name | Type |
---|---|
value | DecimalSource |
tolerance? | number |
boolean
profectus/src/lib/break_eternity.ts:2044
▸ equals(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1970
▸ equals_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2068
▸ exp(): default
profectus/src/lib/break_eternity.ts:2325
▸ factorial(): default
profectus/src/lib/break_eternity.ts:2261
▸ floor(): default
profectus/src/lib/break_eternity.ts:1668
▸ fromComponents(sign
, layer
, mag
): default
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:1188
▸ fromComponents_noNormalize(sign
, layer
, mag
): default
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:1197
▸ fromDecimal(value
): default
Name | Type |
---|---|
value | default |
profectus/src/lib/break_eternity.ts:1220
▸ fromMantissaExponent(mantissa
, exponent
): default
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:1204
▸ fromMantissaExponent_noNormalize(mantissa
, exponent
): default
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:1214
▸ fromNumber(value
): default
Name | Type |
---|---|
value | number |
profectus/src/lib/break_eternity.ts:1227
▸ fromString(value
): default
Name | Type |
---|---|
value | string |
profectus/src/lib/break_eternity.ts:1235
▸ fromValue(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1484
▸ gamma(): default
profectus/src/lib/break_eternity.ts:2274
▸ greaterThan(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2961
▸ greaterThanOrEqualTo(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2957
▸ gt(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1990
▸ gt_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2090
▸ gte(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1994
▸ gte_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2095
▸ isFinite(): boolean
boolean
profectus/src/lib/break_eternity.ts:1959
▸ isNan(): boolean
boolean
profectus/src/lib/break_eternity.ts:1955
▸ iteratedexp(height?
, payload?
): default
Name | Type | Default value |
---|---|---|
height | number | 2 |
payload | default | undefined |
profectus/src/lib/break_eternity.ts:2489
▸ iteratedlog(base?
, times?
): default
Name | Type | Default value |
---|---|---|
base | DecimalSource | 10 |
times | number | 1 |
profectus/src/lib/break_eternity.ts:2495
▸ lambertw(): default
profectus/src/lib/break_eternity.ts:2775
▸ layeradd(diff
, base
): default
Name | Type |
---|---|
diff | number |
base | DecimalSource |
profectus/src/lib/break_eternity.ts:2758
▸ layeradd10(diff
): default
Name | Type |
---|---|
diff | DecimalSource |
profectus/src/lib/break_eternity.ts:2691
▸ lessThan(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2953
▸ lessThanOrEqualTo(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2949
▸ ln(): default
profectus/src/lib/break_eternity.ts:2158
▸ lngamma(): default
profectus/src/lib/break_eternity.ts:2321
▸ log(base
): default
Name | Type |
---|---|
base | DecimalSource |
profectus/src/lib/break_eternity.ts:2127
▸ log10(): default
profectus/src/lib/break_eternity.ts:2117
▸ log2(): default
profectus/src/lib/break_eternity.ts:2144
▸ logarithm(base
): default
Name | Type |
---|---|
base | DecimalSource |
profectus/src/lib/break_eternity.ts:2172
▸ lt(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1982
▸ lt_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2080
▸ lte(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1986
▸ lte_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2085
▸ magnitudeWithDecimalPlaces(places
): number
Name | Type |
---|---|
places | number |
number
profectus/src/lib/break_eternity.ts:1534
▸ mantissaWithDecimalPlaces(places
): number
Name | Type |
---|---|
places | number |
number
profectus/src/lib/break_eternity.ts:1521
▸ max(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1998
▸ maxabs(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2008
▸ min(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2003
▸ minabs(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2013
▸ minus(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1801
▸ mul(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1805
▸ multiply(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1875
▸ neg(): default
profectus/src/lib/break_eternity.ts:1638
▸ negate(): default
profectus/src/lib/break_eternity.ts:1642
▸ negated(): default
profectus/src/lib/break_eternity.ts:1646
▸ neq(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1974
▸ neq_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2072
▸ normalize(): default
profectus/src/lib/break_eternity.ts:1120
▸ notEquals(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:1978
▸ notEquals_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2076
▸ pLog10(): default
profectus/src/lib/break_eternity.ts:2100
▸ pentate(height?
, payload?
): default
Name | Type | Default value |
---|---|---|
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:2807
▸ plus(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1789
▸ pow(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2176
▸ pow10(): default
profectus/src/lib/break_eternity.ts:2212
▸ pow_base(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2252
▸ recip(): default
profectus/src/lib/break_eternity.ts:1900
▸ reciprocal(): default
profectus/src/lib/break_eternity.ts:1910
▸ reciprocate(): default
profectus/src/lib/break_eternity.ts:1914
▸ root(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2256
▸ round(): default
profectus/src/lib/break_eternity.ts:1658
▸ sgn(): number
number
profectus/src/lib/break_eternity.ts:1654
▸ sin(): default
profectus/src/lib/break_eternity.ts:2843
▸ sinh(): default
profectus/src/lib/break_eternity.ts:2903
▸ slog(base?
, iterations?
): default
Name | Type | Default value |
---|---|---|
base | DecimalSource | 10 |
iterations | number | 100 |
profectus/src/lib/break_eternity.ts:2538
▸ slog_internal(base?
): default
Name | Type | Default value |
---|---|---|
base | DecimalSource | 10 |
profectus/src/lib/break_eternity.ts:2566
▸ sqr(): default
profectus/src/lib/break_eternity.ts:2340
▸ sqrt(): default
profectus/src/lib/break_eternity.ts:2344
▸ ssqrt(): default
profectus/src/lib/break_eternity.ts:2797
▸ sub(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1793
▸ subtract(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1797
▸ tan(): default
profectus/src/lib/break_eternity.ts:2863
▸ tanh(): default
profectus/src/lib/break_eternity.ts:2911
▸ tetrate(height?
, payload?
): default
Name | Type | Default value |
---|---|---|
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:2368
▸ times(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1879
▸ toExponential(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1572
▸ toFixed(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1579
▸ toJSON(): string
string
profectus/src/lib/break_eternity.ts:1602
▸ toNumber(): number
number
profectus/src/lib/break_eternity.ts:1503
▸ toPrecision(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1586
▸ toString(): string
string
profectus/src/lib/break_eternity.ts:1547
▸ toStringWithDecimalPlaces(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1606
▸ trunc(): default
profectus/src/lib/break_eternity.ts:1688
▸ valueOf(): string
string
profectus/src/lib/break_eternity.ts:1598
▸ Static
abs(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:515
▸ Static
absLog10(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:773
▸ Static
acos(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:905
▸ Static
acosh(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:929
▸ Static
add(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:555
▸ Static
affordArithmeticSeries(resourcesAvailable
, priceStart
, priceAdd
, currentOwned
): default
If you're willing to spend 'resourcesAvailable' and want to buy something with additively increasing cost each purchase (start at priceStart, add by priceAdd, already own currentOwned), how much of it can you buy?
Name | Type |
---|---|
resourcesAvailable | DecimalSource |
priceStart | DecimalSource |
priceAdd | DecimalSource |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:976
▸ Static
affordArithmeticSeries_core(resourcesAvailable
, priceStart
, priceAdd
, currentOwned
): default
Name | Type |
---|---|
resourcesAvailable | default |
priceStart | default |
priceAdd | default |
currentOwned | default |
profectus/src/lib/break_eternity.ts:1082
▸ Static
affordGeometricSeries(resourcesAvailable
, priceStart
, priceRatio
, currentOwned
): default
If you're willing to spend 'resourcesAvailable' and want to buy something with exponentially increasing cost each purchase (start at priceStart, multiply by priceRatio, already own currentOwned), how much of it can you buy? Adapted from Trimps source code.
Name | Type |
---|---|
resourcesAvailable | DecimalSource |
priceStart | DecimalSource |
priceRatio | DecimalSource |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:944
▸ Static
affordGeometricSeries_core(resourcesAvailable
, priceStart
, priceRatio
, currentOwned
): default
Name | Type |
---|---|
resourcesAvailable | default |
priceStart | default |
priceRatio | default |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:1053
▸ Static
asin(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:901
▸ Static
asinh(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:925
▸ Static
atan(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:909
▸ Static
atanh(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:933
▸ Static
cbrt(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:841
▸ Static
ceil(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:547
▸ Static
clamp(value
, min
, max
): default
Name | Type |
---|---|
value | DecimalSource |
min | DecimalSource |
max | DecimalSource |
profectus/src/lib/break_eternity.ts:677
▸ Static
clampMax(value
, max
): default
Name | Type |
---|---|
value | DecimalSource |
max | DecimalSource |
profectus/src/lib/break_eternity.ts:685
▸ Static
clampMin(value
, min
): default
Name | Type |
---|---|
value | DecimalSource |
min | DecimalSource |
profectus/src/lib/break_eternity.ts:681
▸ Static
cmp(value
, other
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:607
▸ Static
cmp_tolerance(value
, other
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:689
▸ Static
cmpabs(value
, other
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:611
▸ Static
compare(value
, other
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:615
▸ Static
compare_tolerance(value
, other
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:697
▸ Static
cos(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:893
▸ Static
cosh(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:917
▸ Static
critical_section(base
, height
, grid
): number
Name | Type |
---|---|
base | number |
height | number |
grid | number [][] |
number
profectus/src/lib/break_eternity.ts:2633
▸ Static
cube(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:837
▸ Static
div(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:587
▸ Static
divide(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:591
▸ Static
efficiencyOfPurchase(cost
, currentRpS
, deltaRpS
): default
When comparing two purchases that cost (resource) and increase your resource/sec by (deltaRpS), the lowest efficiency score is the better one to purchase. From Frozen Cookies: http://cookieclicker.wikia.com/wiki/Frozen_Cookies_(JavaScript_Add-on)#Efficiency.3F_What.27s_that.3F
Name | Type |
---|---|
cost | DecimalSource |
currentRpS | DecimalSource |
deltaRpS | DecimalSource |
profectus/src/lib/break_eternity.ts:1015
▸ Static
efficiencyOfPurchase_core(cost
, currentRpS
, deltaRpS
): default
Name | Type |
---|---|
cost | default |
currentRpS | default |
deltaRpS | default |
profectus/src/lib/break_eternity.ts:1112
▸ Static
eq(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:629
▸ Static
eq_tolerance(value
, other
, tolerance?
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance? | number |
boolean
profectus/src/lib/break_eternity.ts:705
▸ Static
equals(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:633
▸ Static
equals_tolerance(value
, other
, tolerance?
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance? | number |
boolean
profectus/src/lib/break_eternity.ts:713
▸ Static
exp(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:825
▸ Static
factorial(value
, _other?
): default
Name | Type |
---|---|
value | DecimalSource |
_other? | undefined |
profectus/src/lib/break_eternity.ts:813
▸ Static
floor(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:543
▸ Static
fromComponents(sign
, layer
, mag
): default
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:455
▸ Static
fromComponents_noNormalize(sign
, layer
, mag
): default
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:459
▸ Static
fromDecimal(value
): default
Name | Type |
---|---|
value | default |
profectus/src/lib/break_eternity.ts:471
▸ Static
fromMantissaExponent(mantissa
, exponent
): default
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:463
▸ Static
fromMantissaExponent_noNormalize(mantissa
, exponent
): default
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:467
▸ Static
fromNumber(value
): default
Name | Type |
---|---|
value | number |
profectus/src/lib/break_eternity.ts:475
▸ Static
fromString(value
): default
Name | Type |
---|---|
value | string |
profectus/src/lib/break_eternity.ts:479
▸ Static
fromValue(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:483
▸ Static
fromValue_noAlloc(value
): Readonly
<default
>
Converts a DecimalSource to a Decimal, without constructing a new Decimal if the provided value is already a Decimal.
As the return value could be the provided value itself, this function returns a read-only Decimal to prevent accidental mutations of the value. Use new Decimal(value)
to explicitly create a writeable copy if mutation is required.
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:496
▸ Static
gamma(value
, _other?
): default
Name | Type |
---|---|
value | DecimalSource |
_other? | undefined |
profectus/src/lib/break_eternity.ts:817
▸ Static
gt(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:653
▸ Static
gt_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:753
▸ Static
gte(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:657
▸ Static
gte_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:761
▸ Static
isFinite(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:624
▸ Static
isNaN(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:619
▸ Static
iteratedexp(value
, height?
, payload?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | number | 2 |
payload | default | undefined |
profectus/src/lib/break_eternity.ts:853
▸ Static
iteratedlog(value
, base?
, times?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
base | DecimalSource | 10 |
times | number | 1 |
profectus/src/lib/break_eternity.ts:857
▸ Static
lambertw(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:873
▸ Static
layeradd(value
, diff
, base?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
diff | number | undefined |
base | DecimalSource | 10 |
profectus/src/lib/break_eternity.ts:865
▸ Static
layeradd10(value
, diff
): default
Name | Type |
---|---|
value | DecimalSource |
diff | DecimalSource |
profectus/src/lib/break_eternity.ts:861
▸ Static
ln(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:789
▸ Static
lngamma(value
, _other?
): default
Name | Type |
---|---|
value | DecimalSource |
_other? | undefined |
profectus/src/lib/break_eternity.ts:821
▸ Static
log(value
, base
): default
Name | Type |
---|---|
value | DecimalSource |
base | DecimalSource |
profectus/src/lib/break_eternity.ts:781
▸ Static
log10(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:777
▸ Static
log2(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:785
▸ Static
logarithm(value
, base
): default
Name | Type |
---|---|
value | DecimalSource |
base | DecimalSource |
profectus/src/lib/break_eternity.ts:793
▸ Static
lt(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:645
▸ Static
lt_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:737
▸ Static
lte(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:649
▸ Static
lte_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:745
▸ Static
max(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:661
▸ Static
maxabs(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:673
▸ Static
min(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:665
▸ Static
minabs(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:669
▸ Static
minus(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:571
▸ Static
mul(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:575
▸ Static
multiply(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:579
▸ Static
neg(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:519
▸ Static
negate(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:523
▸ Static
negated(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:527
▸ Static
neq(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:637
▸ Static
neq_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:721
▸ Static
notEquals(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:641
▸ Static
notEquals_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:729
▸ Static
pLog10(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:769
▸ Static
pentate(value
, height?
, payload?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:881
▸ Static
plus(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:559
▸ Static
pow(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:797
▸ Static
pow10(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:801
▸ Static
pow_base(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:805
▸ Static
randomDecimalForTesting(maxLayers
): default
Name | Type |
---|---|
maxLayers | number |
profectus/src/lib/break_eternity.ts:1023
▸ Static
recip(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:595
▸ Static
reciprocal(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:599
▸ Static
reciprocate(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:603
▸ Static
root(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:809
▸ Static
round(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:539
▸ Static
sgn(value
): number
Name | Type |
---|---|
value | DecimalSource |
number
profectus/src/lib/break_eternity.ts:535
▸ Static
sign(value
): number
Name | Type |
---|---|
value | DecimalSource |
number
profectus/src/lib/break_eternity.ts:531
▸ Static
sin(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:889
▸ Static
sinh(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:913
▸ Static
slog(value
, base?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
base | number | 10 |
profectus/src/lib/break_eternity.ts:869
▸ Static
slog_critical(base
, height
): number
Name | Type |
---|---|
base | number |
height | number |
number
profectus/src/lib/break_eternity.ts:2621
▸ Static
sqr(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:829
▸ Static
sqrt(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:833
▸ Static
ssqrt(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:877
▸ Static
sub(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:563
▸ Static
subtract(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:567
▸ Static
sumArithmeticSeries(numItems
, priceStart
, priceAdd
, currentOwned
): default
How much resource would it cost to buy (numItems) items if you already have currentOwned, the initial price is priceStart and it adds priceAdd each purchase? Adapted from http://www.mathwords.com/a/arithmetic_series.htm
Name | Type |
---|---|
numItems | DecimalSource |
priceStart | DecimalSource |
priceAdd | DecimalSource |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:995
▸ Static
sumArithmeticSeries_core(numItems
, priceStart
, priceAdd
, currentOwned
): default
Name | Type |
---|---|
numItems | default |
priceStart | default |
priceAdd | default |
currentOwned | default |
profectus/src/lib/break_eternity.ts:1101
▸ Static
sumGeometricSeries(numItems
, priceStart
, priceRatio
, currentOwned
): default
How much resource would it cost to buy (numItems) items if you already have currentOwned, the initial price is priceStart and it multiplies by priceRatio each purchase?
Name | Type |
---|---|
numItems | DecimalSource |
priceStart | DecimalSource |
priceRatio | DecimalSource |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:962
▸ Static
sumGeometricSeries_core(numItems
, priceStart
, priceRatio
, currentOwned
): default
Name | Type |
---|---|
numItems | DecimalSource |
priceStart | default |
priceRatio | default |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:1070
▸ Static
tan(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:897
▸ Static
tanh(value
): default
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:921
▸ Static
tetrate(value
, height?
, payload?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:845
▸ Static
tetrate_critical(base
, height
): number
Name | Type |
---|---|
base | number |
height | number |
number
profectus/src/lib/break_eternity.ts:2629
▸ Static
times(value
, other
): default
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:583
▸ Static
trunc(value
): default
Name | Type |
---|---|
value | DecimalSource |