import{_ as e,c as t,o as a,a as r}from"./app.54d5a277.js";const p='{"title":"Class: Decimal","description":"","frontmatter":{},"headers":[{"level":2,"title":"Constructors","slug":"constructors"},{"level":3,"title":"constructor","slug":"constructor"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"layer","slug":"layer"},{"level":3,"title":"mag","slug":"mag"},{"level":3,"title":"sign","slug":"sign"},{"level":3,"title":"dInf","slug":"dinf"},{"level":3,"title":"dNaN","slug":"dnan"},{"level":3,"title":"dNegInf","slug":"dneginf"},{"level":3,"title":"dNegOne","slug":"dnegone"},{"level":3,"title":"dNumberMax","slug":"dnumbermax"},{"level":3,"title":"dNumberMin","slug":"dnumbermin"},{"level":3,"title":"dOne","slug":"done"},{"level":3,"title":"dTen","slug":"dten"},{"level":3,"title":"dTwo","slug":"dtwo"},{"level":3,"title":"dZero","slug":"dzero"},{"level":2,"title":"Accessors","slug":"accessors"},{"level":3,"title":"e","slug":"e"},{"level":3,"title":"exponent","slug":"exponent"},{"level":3,"title":"m","slug":"m"},{"level":3,"title":"mantissa","slug":"mantissa"},{"level":3,"title":"s","slug":"s"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"abs","slug":"abs"},{"level":3,"title":"absLog10","slug":"abslog10"},{"level":3,"title":"acos","slug":"acos"},{"level":3,"title":"acosh","slug":"acosh"},{"level":3,"title":"add","slug":"add"},{"level":3,"title":"ascensionPenalty","slug":"ascensionpenalty"},{"level":3,"title":"asin","slug":"asin"},{"level":3,"title":"asinh","slug":"asinh"},{"level":3,"title":"atan","slug":"atan"},{"level":3,"title":"atanh","slug":"atanh"},{"level":3,"title":"cbrt","slug":"cbrt"},{"level":3,"title":"ceil","slug":"ceil"},{"level":3,"title":"clamp","slug":"clamp"},{"level":3,"title":"clampMax","slug":"clampmax"},{"level":3,"title":"clampMin","slug":"clampmin"},{"level":3,"title":"cmp","slug":"cmp"},{"level":3,"title":"cmp_tolerance","slug":"cmp-tolerance"},{"level":3,"title":"cmpabs","slug":"cmpabs"},{"level":3,"title":"compare","slug":"compare"},{"level":3,"title":"compare_tolerance","slug":"compare-tolerance"},{"level":3,"title":"cos","slug":"cos"},{"level":3,"title":"cosh","slug":"cosh"},{"level":3,"title":"cube","slug":"cube"},{"level":3,"title":"div","slug":"div"},{"level":3,"title":"divide","slug":"divide"},{"level":3,"title":"divideBy","slug":"divideby"},{"level":3,"title":"dividedBy","slug":"dividedby"},{"level":3,"title":"egg","slug":"egg"},{"level":3,"title":"eq","slug":"eq"},{"level":3,"title":"eq_tolerance","slug":"eq-tolerance"},{"level":3,"title":"equals","slug":"equals"},{"level":3,"title":"equals_tolerance","slug":"equals-tolerance"},{"level":3,"title":"exp","slug":"exp"},{"level":3,"title":"factorial","slug":"factorial"},{"level":3,"title":"floor","slug":"floor"},{"level":3,"title":"fromComponents","slug":"fromcomponents"},{"level":3,"title":"fromComponents_noNormalize","slug":"fromcomponents-nonormalize"},{"level":3,"title":"fromDecimal","slug":"fromdecimal"},{"level":3,"title":"fromMantissaExponent","slug":"frommantissaexponent"},{"level":3,"title":"fromMantissaExponent_noNormalize","slug":"frommantissaexponent-nonormalize"},{"level":3,"title":"fromNumber","slug":"fromnumber"},{"level":3,"title":"fromString","slug":"fromstring"},{"level":3,"title":"fromValue","slug":"fromvalue"},{"level":3,"title":"gamma","slug":"gamma"},{"level":3,"title":"greaterThan","slug":"greaterthan"},{"level":3,"title":"greaterThanOrEqualTo","slug":"greaterthanorequalto"},{"level":3,"title":"gt","slug":"gt"},{"level":3,"title":"gt_tolerance","slug":"gt-tolerance"},{"level":3,"title":"gte","slug":"gte"},{"level":3,"title":"gte_tolerance","slug":"gte-tolerance"},{"level":3,"title":"isFinite","slug":"isfinite"},{"level":3,"title":"isNan","slug":"isnan"},{"level":3,"title":"iteratedexp","slug":"iteratedexp"},{"level":3,"title":"iteratedlog","slug":"iteratedlog"},{"level":3,"title":"lambertw","slug":"lambertw"},{"level":3,"title":"layeradd","slug":"layeradd"},{"level":3,"title":"layeradd10","slug":"layeradd10"},{"level":3,"title":"lessThan","slug":"lessthan"},{"level":3,"title":"lessThanOrEqualTo","slug":"lessthanorequalto"},{"level":3,"title":"ln","slug":"ln"},{"level":3,"title":"lngamma","slug":"lngamma"},{"level":3,"title":"log","slug":"log"},{"level":3,"title":"log10","slug":"log10"},{"level":3,"title":"log2","slug":"log2"},{"level":3,"title":"logarithm","slug":"logarithm"},{"level":3,"title":"lt","slug":"lt"},{"level":3,"title":"lt_tolerance","slug":"lt-tolerance"},{"level":3,"title":"lte","slug":"lte"},{"level":3,"title":"lte_tolerance","slug":"lte-tolerance"},{"level":3,"title":"magnitudeWithDecimalPlaces","slug":"magnitudewithdecimalplaces"},{"level":3,"title":"mantissaWithDecimalPlaces","slug":"mantissawithdecimalplaces"},{"level":3,"title":"max","slug":"max"},{"level":3,"title":"maxabs","slug":"maxabs"},{"level":3,"title":"min","slug":"min"},{"level":3,"title":"minabs","slug":"minabs"},{"level":3,"title":"minus","slug":"minus"},{"level":3,"title":"mul","slug":"mul"},{"level":3,"title":"multiply","slug":"multiply"},{"level":3,"title":"neg","slug":"neg"},{"level":3,"title":"negate","slug":"negate"},{"level":3,"title":"negated","slug":"negated"},{"level":3,"title":"neq","slug":"neq"},{"level":3,"title":"neq_tolerance","slug":"neq-tolerance"},{"level":3,"title":"normalize","slug":"normalize"},{"level":3,"title":"notEquals","slug":"notequals"},{"level":3,"title":"notEquals_tolerance","slug":"notequals-tolerance"},{"level":3,"title":"pLog10","slug":"plog10"},{"level":3,"title":"pentate","slug":"pentate"},{"level":3,"title":"plus","slug":"plus"},{"level":3,"title":"pow","slug":"pow"},{"level":3,"title":"pow10","slug":"pow10"},{"level":3,"title":"pow_base","slug":"pow-base"},{"level":3,"title":"recip","slug":"recip"},{"level":3,"title":"reciprocal","slug":"reciprocal"},{"level":3,"title":"reciprocate","slug":"reciprocate"},{"level":3,"title":"root","slug":"root"},{"level":3,"title":"round","slug":"round"},{"level":3,"title":"sgn","slug":"sgn"},{"level":3,"title":"sin","slug":"sin"},{"level":3,"title":"sinh","slug":"sinh"},{"level":3,"title":"slog","slug":"slog"},{"level":3,"title":"sqr","slug":"sqr"},{"level":3,"title":"sqrt","slug":"sqrt"},{"level":3,"title":"ssqrt","slug":"ssqrt"},{"level":3,"title":"sub","slug":"sub"},{"level":3,"title":"subtract","slug":"subtract"},{"level":3,"title":"tan","slug":"tan"},{"level":3,"title":"tanh","slug":"tanh"},{"level":3,"title":"tetrate","slug":"tetrate"},{"level":3,"title":"times","slug":"times"},{"level":3,"title":"toExponential","slug":"toexponential"},{"level":3,"title":"toFixed","slug":"tofixed"},{"level":3,"title":"toJSON","slug":"tojson"},{"level":3,"title":"toNumber","slug":"tonumber"},{"level":3,"title":"toPrecision","slug":"toprecision"},{"level":3,"title":"toString","slug":"tostring"},{"level":3,"title":"toStringWithDecimalPlaces","slug":"tostringwithdecimalplaces"},{"level":3,"title":"trunc","slug":"trunc"},{"level":3,"title":"valueOf","slug":"valueof"},{"level":3,"title":"abs","slug":"abs-1"},{"level":3,"title":"absLog10","slug":"abslog10-1"},{"level":3,"title":"add","slug":"add-1"},{"level":3,"title":"affordArithmeticSeries","slug":"affordarithmeticseries"},{"level":3,"title":"affordArithmeticSeries_core","slug":"affordarithmeticseries-core"},{"level":3,"title":"affordGeometricSeries","slug":"affordgeometricseries"},{"level":3,"title":"affordGeometricSeries_core","slug":"affordgeometricseries-core"},{"level":3,"title":"cbrt","slug":"cbrt-1"},{"level":3,"title":"ceil","slug":"ceil-1"},{"level":3,"title":"clamp","slug":"clamp-1"},{"level":3,"title":"clampMax","slug":"clampmax-1"},{"level":3,"title":"clampMin","slug":"clampmin-1"},{"level":3,"title":"cmp","slug":"cmp-1"},{"level":3,"title":"cmp_tolerance","slug":"cmp-tolerance-1"},{"level":3,"title":"cmpabs","slug":"cmpabs-1"},{"level":3,"title":"compare","slug":"compare-1"},{"level":3,"title":"compare_tolerance","slug":"compare-tolerance-1"},{"level":3,"title":"critical_section","slug":"critical-section"},{"level":3,"title":"cube","slug":"cube-1"},{"level":3,"title":"div","slug":"div-1"},{"level":3,"title":"divide","slug":"divide-1"},{"level":3,"title":"efficiencyOfPurchase","slug":"efficiencyofpurchase"},{"level":3,"title":"efficiencyOfPurchase_core","slug":"efficiencyofpurchase-core"},{"level":3,"title":"eq","slug":"eq-1"},{"level":3,"title":"eq_tolerance","slug":"eq-tolerance-1"},{"level":3,"title":"equals","slug":"equals-1"},{"level":3,"title":"equals_tolerance","slug":"equals-tolerance-1"},{"level":3,"title":"exp","slug":"exp-1"},{"level":3,"title":"factorial","slug":"factorial-1"},{"level":3,"title":"floor","slug":"floor-1"},{"level":3,"title":"fromComponents","slug":"fromcomponents-1"},{"level":3,"title":"fromComponents_noNormalize","slug":"fromcomponents-nonormalize-1"},{"level":3,"title":"fromDecimal","slug":"fromdecimal-1"},{"level":3,"title":"fromMantissaExponent","slug":"frommantissaexponent-1"},{"level":3,"title":"fromMantissaExponent_noNormalize","slug":"frommantissaexponent-nonormalize-1"},{"level":3,"title":"fromNumber","slug":"fromnumber-1"},{"level":3,"title":"fromString","slug":"fromstring-1"},{"level":3,"title":"fromValue","slug":"fromvalue-1"},{"level":3,"title":"fromValue_noAlloc","slug":"fromvalue-noalloc"},{"level":3,"title":"gamma","slug":"gamma-1"},{"level":3,"title":"gt","slug":"gt-1"},{"level":3,"title":"gt_tolerance","slug":"gt-tolerance-1"},{"level":3,"title":"gte","slug":"gte-1"},{"level":3,"title":"gte_tolerance","slug":"gte-tolerance-1"},{"level":3,"title":"isFinite","slug":"isfinite-1"},{"level":3,"title":"isNaN","slug":"isnan-1"},{"level":3,"title":"iteratedexp","slug":"iteratedexp-1"},{"level":3,"title":"iteratedlog","slug":"iteratedlog-1"},{"level":3,"title":"lambertw","slug":"lambertw-1"},{"level":3,"title":"layeradd","slug":"layeradd-1"},{"level":3,"title":"layeradd10","slug":"layeradd10-1"},{"level":3,"title":"ln","slug":"ln-1"},{"level":3,"title":"lngamma","slug":"lngamma-1"},{"level":3,"title":"log","slug":"log-1"},{"level":3,"title":"log10","slug":"log10-1"},{"level":3,"title":"log2","slug":"log2-1"},{"level":3,"title":"logarithm","slug":"logarithm-1"},{"level":3,"title":"lt","slug":"lt-1"},{"level":3,"title":"lt_tolerance","slug":"lt-tolerance-1"},{"level":3,"title":"lte","slug":"lte-1"},{"level":3,"title":"lte_tolerance","slug":"lte-tolerance-1"},{"level":3,"title":"max","slug":"max-1"},{"level":3,"title":"maxabs","slug":"maxabs-1"},{"level":3,"title":"min","slug":"min-1"},{"level":3,"title":"minabs","slug":"minabs-1"},{"level":3,"title":"minus","slug":"minus-1"},{"level":3,"title":"mul","slug":"mul-1"},{"level":3,"title":"multiply","slug":"multiply-1"},{"level":3,"title":"neg","slug":"neg-1"},{"level":3,"title":"negate","slug":"negate-1"},{"level":3,"title":"negated","slug":"negated-1"},{"level":3,"title":"neq","slug":"neq-1"},{"level":3,"title":"neq_tolerance","slug":"neq-tolerance-1"},{"level":3,"title":"notEquals","slug":"notequals-1"},{"level":3,"title":"notEquals_tolerance","slug":"notequals-tolerance-1"},{"level":3,"title":"pLog10","slug":"plog10-1"},{"level":3,"title":"pentate","slug":"pentate-1"},{"level":3,"title":"plus","slug":"plus-1"},{"level":3,"title":"pow","slug":"pow-1"},{"level":3,"title":"pow10","slug":"pow10-1"},{"level":3,"title":"randomDecimalForTesting","slug":"randomdecimalfortesting"},{"level":3,"title":"recip","slug":"recip-1"},{"level":3,"title":"reciprocal","slug":"reciprocal-1"},{"level":3,"title":"reciprocate","slug":"reciprocate-1"},{"level":3,"title":"root","slug":"root-1"},{"level":3,"title":"round","slug":"round-1"},{"level":3,"title":"sgn","slug":"sgn-1"},{"level":3,"title":"sign","slug":"sign-1"},{"level":3,"title":"slog","slug":"slog-1"},{"level":3,"title":"slog_critical","slug":"slog-critical"},{"level":3,"title":"sqr","slug":"sqr-1"},{"level":3,"title":"sqrt","slug":"sqrt-1"},{"level":3,"title":"ssqrt","slug":"ssqrt-1"},{"level":3,"title":"sub","slug":"sub-1"},{"level":3,"title":"subtract","slug":"subtract-1"},{"level":3,"title":"sumArithmeticSeries","slug":"sumarithmeticseries"},{"level":3,"title":"sumArithmeticSeries_core","slug":"sumarithmeticseries-core"},{"level":3,"title":"sumGeometricSeries","slug":"sumgeometricseries"},{"level":3,"title":"sumGeometricSeries_core","slug":"sumgeometricseries-core"},{"level":3,"title":"tetrate","slug":"tetrate-1"},{"level":3,"title":"tetrate_critical","slug":"tetrate-critical"},{"level":3,"title":"times","slug":"times-1"},{"level":3,"title":"trunc","slug":"trunc-1"}],"relativePath":"api/classes/lib/break_eternity.Decimal.md"}',d={},i=r('
lib/break_eternity.Decimal
The Decimal's value is simply mantissa * 10^exponent.
\u2022 new Decimal(value?
)
Name | Type |
---|---|
value? | DecimalSource |
profectus/src/lib/break_eternity.ts:509
\u2022 layer: number
= Number.NaN
profectus/src/lib/break_eternity.ts:507
\u2022 mag: number
= Number.NaN
profectus/src/lib/break_eternity.ts:506
\u2022 sign: number
= Number.NaN
profectus/src/lib/break_eternity.ts:505
\u25AA Static
Readonly
dInf: Decimal
profectus/src/lib/break_eternity.ts:500
\u25AA Static
Readonly
dNaN: Decimal
profectus/src/lib/break_eternity.ts:499
\u25AA Static
Readonly
dNegInf: Decimal
profectus/src/lib/break_eternity.ts:501
\u25AA Static
Readonly
dNegOne: Decimal
profectus/src/lib/break_eternity.ts:496
\u25AA Static
Readonly
dNumberMax: Decimal
profectus/src/lib/break_eternity.ts:502
\u25AA Static
Readonly
dNumberMin: Decimal
profectus/src/lib/break_eternity.ts:503
\u25AA Static
Readonly
dOne: Decimal
profectus/src/lib/break_eternity.ts:495
\u25AA Static
Readonly
dTen: Decimal
profectus/src/lib/break_eternity.ts:498
\u25AA Static
Readonly
dTwo: Decimal
profectus/src/lib/break_eternity.ts:497
\u25AA Static
Readonly
dZero: Decimal
profectus/src/lib/break_eternity.ts:494
\u2022 get
e(): number
number
profectus/src/lib/break_eternity.ts:558
\u2022 set
e(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:571
\u2022 get
exponent(): number
number
profectus/src/lib/break_eternity.ts:597
\u2022 set
exponent(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:600
\u2022 get
m(): number
number
profectus/src/lib/break_eternity.ts:523
\u2022 set
m(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:545
\u2022 get
mantissa(): number
number
profectus/src/lib/break_eternity.ts:589
\u2022 set
mantissa(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:593
\u2022 get
s(): number
number
profectus/src/lib/break_eternity.ts:575
\u2022 set
s(value
): void
Name | Type |
---|---|
value | number |
void
profectus/src/lib/break_eternity.ts:578
\u25B8 abs(): Decimal
profectus/src/lib/break_eternity.ts:1708
\u25B8 absLog10(): Decimal
profectus/src/lib/break_eternity.ts:2181
\u25B8 acos(): Decimal
profectus/src/lib/break_eternity.ts:3094
\u25B8 acosh(): Decimal
profectus/src/lib/break_eternity.ts:3140
\u25B8 add(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1772
\u25B8 ascensionPenalty(ascensions
): Decimal
Joke function from Realm Grinder
Name | Type |
---|---|
ascensions | DecimalSource |
profectus/src/lib/break_eternity.ts:3161
\u25B8 asin(): Decimal
profectus/src/lib/break_eternity.ts:3084
\u25B8 asinh(): Decimal
profectus/src/lib/break_eternity.ts:3130
\u25B8 atan(): Decimal
profectus/src/lib/break_eternity.ts:3104
\u25B8 atanh(): Decimal
profectus/src/lib/break_eternity.ts:3150
\u25B8 cbrt(): Decimal
profectus/src/lib/break_eternity.ts:2438
\u25B8 ceil(): Decimal
profectus/src/lib/break_eternity.ts:1752
\u25B8 clamp(min
, max
): Decimal
Name | Type |
---|---|
min | DecimalSource |
max | DecimalSource |
profectus/src/lib/break_eternity.ts:2092
\u25B8 clampMax(max
): Decimal
Name | Type |
---|---|
max | DecimalSource |
profectus/src/lib/break_eternity.ts:2100
\u25B8 clampMin(min
): Decimal
Name | Type |
---|---|
min | DecimalSource |
profectus/src/lib/break_eternity.ts:2096
\u25B8 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:1995
\u25B8 cmp_tolerance(value
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:2104
\u25B8 cmpabs(value
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2006
\u25B8 compare(value
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2025
\u25B8 compare_tolerance(value
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:2109
\u25B8 cos(): Decimal
profectus/src/lib/break_eternity.ts:3064
\u25B8 cosh(): Decimal
profectus/src/lib/break_eternity.ts:3120
\u25B8 cube(): Decimal
profectus/src/lib/break_eternity.ts:2434
\u25B8 div(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1957
\u25B8 divide(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1962
\u25B8 divideBy(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1966
\u25B8 dividedBy(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1970
\u25B8 egg(): Decimal
Joke function from Cookie Clicker. It's 'egg'
profectus/src/lib/break_eternity.ts:3172
\u25B8 eq(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2037
\u25B8 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:2118
\u25B8 equals(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2044
\u25B8 equals_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2142
\u25B8 exp(): Decimal
profectus/src/lib/break_eternity.ts:2402
\u25B8 factorial(): Decimal
profectus/src/lib/break_eternity.ts:2338
\u25B8 floor(): Decimal
profectus/src/lib/break_eternity.ts:1742
\u25B8 fromComponents(sign
, layer
, mag
): Decimal
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:1305
\u25B8 fromComponents_noNormalize(sign
, layer
, mag
): Decimal
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:1314
\u25B8 fromDecimal(value
): Decimal
Name | Type |
---|---|
value | Decimal |
profectus/src/lib/break_eternity.ts:1337
\u25B8 fromMantissaExponent(mantissa
, exponent
): Decimal
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:1321
\u25B8 fromMantissaExponent_noNormalize(mantissa
, exponent
): Decimal
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:1331
\u25B8 fromNumber(value
): Decimal
Name | Type |
---|---|
value | number |
profectus/src/lib/break_eternity.ts:1344
\u25B8 fromString(value
): Decimal
Name | Type |
---|---|
value | string |
profectus/src/lib/break_eternity.ts:1352
\u25B8 fromValue(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1558
\u25B8 gamma(): Decimal
profectus/src/lib/break_eternity.ts:2351
\u25B8 greaterThan(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:3188
\u25B8 greaterThanOrEqualTo(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:3184
\u25B8 gt(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2064
\u25B8 gt_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2164
\u25B8 gte(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2068
\u25B8 gte_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2169
\u25B8 isFinite(): boolean
boolean
profectus/src/lib/break_eternity.ts:2033
\u25B8 isNan(): boolean
boolean
profectus/src/lib/break_eternity.ts:2029
\u25B8 iteratedexp(height?
, payload?
): Decimal
Name | Type | Default value |
---|---|---|
height | number | 2 |
payload | Decimal | undefined |
profectus/src/lib/break_eternity.ts:2566
\u25B8 iteratedlog(base?
, times?
): Decimal
Name | Type | Default value |
---|---|---|
base | DecimalSource | 10 |
times | number | 1 |
profectus/src/lib/break_eternity.ts:2572
\u25B8 lambertw(): Decimal
profectus/src/lib/break_eternity.ts:2810
\u25B8 layeradd(diff
, base
): Decimal
Name | Type |
---|---|
diff | number |
base | DecimalSource |
profectus/src/lib/break_eternity.ts:2793
\u25B8 layeradd10(diff
): Decimal
Name | Type |
---|---|
diff | DecimalSource |
profectus/src/lib/break_eternity.ts:2726
\u25B8 lessThan(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:3180
\u25B8 lessThanOrEqualTo(other
): boolean
Name | Type |
---|---|
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:3176
\u25B8 ln(): Decimal
profectus/src/lib/break_eternity.ts:2232
\u25B8 lngamma(): Decimal
profectus/src/lib/break_eternity.ts:2398
\u25B8 log(base
): Decimal
Name | Type |
---|---|
base | DecimalSource |
profectus/src/lib/break_eternity.ts:2201
\u25B8 log10(): Decimal
profectus/src/lib/break_eternity.ts:2191
\u25B8 log2(): Decimal
profectus/src/lib/break_eternity.ts:2218
\u25B8 logarithm(base
): Decimal
Name | Type |
---|---|
base | DecimalSource |
profectus/src/lib/break_eternity.ts:2246
\u25B8 lt(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2056
\u25B8 lt_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2154
\u25B8 lte(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2060
\u25B8 lte_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2159
\u25B8 magnitudeWithDecimalPlaces(places
): number
Name | Type |
---|---|
places | number |
number
profectus/src/lib/break_eternity.ts:1608
\u25B8 mantissaWithDecimalPlaces(places
): number
Name | Type |
---|---|
places | number |
number
profectus/src/lib/break_eternity.ts:1595
\u25B8 max(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2072
\u25B8 maxabs(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2082
\u25B8 min(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2077
\u25B8 minabs(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2087
\u25B8 minus(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1875
\u25B8 mul(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1879
\u25B8 multiply(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1949
\u25B8 neg(): Decimal
profectus/src/lib/break_eternity.ts:1712
\u25B8 negate(): Decimal
profectus/src/lib/break_eternity.ts:1716
\u25B8 negated(): Decimal
profectus/src/lib/break_eternity.ts:1720
\u25B8 neq(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2048
\u25B8 neq_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2146
\u25B8 normalize(): Decimal
profectus/src/lib/break_eternity.ts:1237
\u25B8 notEquals(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:2052
\u25B8 notEquals_tolerance(value
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:2150
\u25B8 pLog10(): Decimal
profectus/src/lib/break_eternity.ts:2174
\u25B8 pentate(height?
, payload?
): Decimal
Name | Type | Default value |
---|---|---|
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:3018
\u25B8 plus(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1863
\u25B8 pow(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2250
\u25B8 pow10(): Decimal
profectus/src/lib/break_eternity.ts:2289
\u25B8 pow_base(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2329
\u25B8 recip(): Decimal
profectus/src/lib/break_eternity.ts:1974
\u25B8 reciprocal(): Decimal
profectus/src/lib/break_eternity.ts:1984
\u25B8 reciprocate(): Decimal
profectus/src/lib/break_eternity.ts:1988
\u25B8 root(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:2333
\u25B8 round(): Decimal
profectus/src/lib/break_eternity.ts:1732
\u25B8 sgn(): number
number
profectus/src/lib/break_eternity.ts:1728
\u25B8 sin(): Decimal
profectus/src/lib/break_eternity.ts:3054
\u25B8 sinh(): Decimal
profectus/src/lib/break_eternity.ts:3114
\u25B8 slog(base?
): Decimal
Name | Type | Default value |
---|---|---|
base | DecimalSource | 10 |
profectus/src/lib/break_eternity.ts:2614
\u25B8 sqr(): Decimal
profectus/src/lib/break_eternity.ts:2417
\u25B8 sqrt(): Decimal
profectus/src/lib/break_eternity.ts:2421
\u25B8 ssqrt(): Decimal
profectus/src/lib/break_eternity.ts:2832
\u25B8 sub(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1867
\u25B8 subtract(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1871
\u25B8 tan(): Decimal
profectus/src/lib/break_eternity.ts:3074
\u25B8 tanh(): Decimal
profectus/src/lib/break_eternity.ts:3126
\u25B8 tetrate(height?
, payload?
): Decimal
Name | Type | Default value |
---|---|---|
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:2445
\u25B8 times(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:1953
\u25B8 toExponential(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1646
\u25B8 toFixed(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1653
\u25B8 toJSON(): string
string
profectus/src/lib/break_eternity.ts:1676
\u25B8 toNumber(): number
number
profectus/src/lib/break_eternity.ts:1577
\u25B8 toPrecision(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1660
\u25B8 toString(): string
string
profectus/src/lib/break_eternity.ts:1621
\u25B8 toStringWithDecimalPlaces(places
): string
Name | Type |
---|---|
places | number |
string
profectus/src/lib/break_eternity.ts:1680
\u25B8 trunc(): Decimal
profectus/src/lib/break_eternity.ts:1762
\u25B8 valueOf(): string
string
profectus/src/lib/break_eternity.ts:1672
\u25B8 Static
abs(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:640
\u25B8 Static
absLog10(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:898
\u25B8 Static
add(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:680
\u25B8 Static
affordArithmeticSeries(resourcesAvailable
, priceStart
, priceAdd
, currentOwned
): Decimal
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:1049
\u25B8 Static
affordArithmeticSeries_core(resourcesAvailable
, priceStart
, priceAdd
, currentOwned
): Decimal
Name | Type |
---|---|
resourcesAvailable | Decimal |
priceStart | Decimal |
priceAdd | Decimal |
currentOwned | Decimal |
profectus/src/lib/break_eternity.ts:1155
\u25B8 Static
affordGeometricSeries(resourcesAvailable
, priceStart
, priceRatio
, currentOwned
): Decimal
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:1017
\u25B8 Static
affordGeometricSeries_core(resourcesAvailable
, priceStart
, priceRatio
, currentOwned
): Decimal
Name | Type |
---|---|
resourcesAvailable | Decimal |
priceStart | Decimal |
priceRatio | Decimal |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:1126
\u25B8 Static
cbrt(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:962
\u25B8 Static
ceil(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:672
\u25B8 Static
clamp(value
, min
, max
): Decimal
Name | Type |
---|---|
value | DecimalSource |
min | DecimalSource |
max | DecimalSource |
profectus/src/lib/break_eternity.ts:802
\u25B8 Static
clampMax(value
, max
): Decimal
Name | Type |
---|---|
value | DecimalSource |
max | DecimalSource |
profectus/src/lib/break_eternity.ts:810
\u25B8 Static
clampMin(value
, min
): Decimal
Name | Type |
---|---|
value | DecimalSource |
min | DecimalSource |
profectus/src/lib/break_eternity.ts:806
\u25B8 Static
cmp(value
, other
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:732
\u25B8 Static
cmp_tolerance(value
, other
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:814
\u25B8 Static
cmpabs(value
, other
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:736
\u25B8 Static
compare(value
, other
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:740
\u25B8 Static
compare_tolerance(value
, other
, tolerance
): CompareResult
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
profectus/src/lib/break_eternity.ts:822
\u25B8 Static
critical_section(base
, height
, grid
): number
Name | Type |
---|---|
base | number |
height | number |
grid | number [][] |
number
profectus/src/lib/break_eternity.ts:2679
\u25B8 Static
cube(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:958
\u25B8 Static
div(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:712
\u25B8 Static
divide(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:716
\u25B8 Static
efficiencyOfPurchase(cost
, currentRpS
, deltaRpS
): Decimal
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:1088
\u25B8 Static
efficiencyOfPurchase_core(cost
, currentRpS
, deltaRpS
): Decimal
Name | Type |
---|---|
cost | Decimal |
currentRpS | Decimal |
deltaRpS | Decimal |
profectus/src/lib/break_eternity.ts:1185
\u25B8 Static
eq(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:754
\u25B8 Static
eq_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:830
\u25B8 Static
equals(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:758
\u25B8 Static
equals_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:838
\u25B8 Static
exp(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:946
\u25B8 Static
factorial(value
, _other?
): Decimal
Name | Type |
---|---|
value | DecimalSource |
_other? | undefined |
profectus/src/lib/break_eternity.ts:934
\u25B8 Static
floor(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:668
\u25B8 Static
fromComponents(sign
, layer
, mag
): Decimal
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:604
\u25B8 Static
fromComponents_noNormalize(sign
, layer
, mag
): Decimal
Name | Type |
---|---|
sign | number |
layer | number |
mag | number |
profectus/src/lib/break_eternity.ts:608
\u25B8 Static
fromDecimal(value
): Decimal
Name | Type |
---|---|
value | Decimal |
profectus/src/lib/break_eternity.ts:620
\u25B8 Static
fromMantissaExponent(mantissa
, exponent
): Decimal
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:612
\u25B8 Static
fromMantissaExponent_noNormalize(mantissa
, exponent
): Decimal
Name | Type |
---|---|
mantissa | number |
exponent | number |
profectus/src/lib/break_eternity.ts:616
\u25B8 Static
fromNumber(value
): Decimal
Name | Type |
---|---|
value | number |
profectus/src/lib/break_eternity.ts:624
\u25B8 Static
fromString(value
): Decimal
Name | Type |
---|---|
value | string |
profectus/src/lib/break_eternity.ts:628
\u25B8 Static
fromValue(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:632
\u25B8 Static
fromValue_noAlloc(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:636
\u25B8 Static
gamma(value
, _other?
): Decimal
Name | Type |
---|---|
value | DecimalSource |
_other? | undefined |
profectus/src/lib/break_eternity.ts:938
\u25B8 Static
gt(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:778
\u25B8 Static
gt_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:878
\u25B8 Static
gte(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:782
\u25B8 Static
gte_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:886
\u25B8 Static
isFinite(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:749
\u25B8 Static
isNaN(value
): boolean
Name | Type |
---|---|
value | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:744
\u25B8 Static
iteratedexp(value
, height?
, payload?
): Decimal
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | number | 2 |
payload | Decimal | undefined |
profectus/src/lib/break_eternity.ts:974
\u25B8 Static
iteratedlog(value
, base?
, times?
): Decimal
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
base | DecimalSource | 10 |
times | number | 1 |
profectus/src/lib/break_eternity.ts:978
\u25B8 Static
lambertw(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:994
\u25B8 Static
layeradd(value
, diff
, base?
): Decimal
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
diff | number | undefined |
base | number | 10 |
profectus/src/lib/break_eternity.ts:986
\u25B8 Static
layeradd10(value
, diff
): Decimal
Name | Type |
---|---|
value | DecimalSource |
diff | DecimalSource |
profectus/src/lib/break_eternity.ts:982
\u25B8 Static
ln(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:914
\u25B8 Static
lngamma(value
, _other?
): Decimal
Name | Type |
---|---|
value | DecimalSource |
_other? | undefined |
profectus/src/lib/break_eternity.ts:942
\u25B8 Static
log(value
, base
): Decimal
Name | Type |
---|---|
value | DecimalSource |
base | DecimalSource |
profectus/src/lib/break_eternity.ts:906
\u25B8 Static
log10(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:902
\u25B8 Static
log2(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:910
\u25B8 Static
logarithm(value
, base
): Decimal
Name | Type |
---|---|
value | DecimalSource |
base | DecimalSource |
profectus/src/lib/break_eternity.ts:918
\u25B8 Static
lt(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:770
\u25B8 Static
lt_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:862
\u25B8 Static
lte(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:774
\u25B8 Static
lte_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:870
\u25B8 Static
max(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:786
\u25B8 Static
maxabs(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:798
\u25B8 Static
min(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:790
\u25B8 Static
minabs(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:794
\u25B8 Static
minus(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:696
\u25B8 Static
mul(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:700
\u25B8 Static
multiply(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:704
\u25B8 Static
neg(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:644
\u25B8 Static
negate(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:648
\u25B8 Static
negated(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:652
\u25B8 Static
neq(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:762
\u25B8 Static
neq_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:846
\u25B8 Static
notEquals(value
, other
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
boolean
profectus/src/lib/break_eternity.ts:766
\u25B8 Static
notEquals_tolerance(value
, other
, tolerance
): boolean
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
tolerance | number |
boolean
profectus/src/lib/break_eternity.ts:854
\u25B8 Static
pLog10(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:894
\u25B8 Static
pentate(value
, height?
, payload?
): Decimal
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:1002
\u25B8 Static
plus(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:684
\u25B8 Static
pow(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:922
\u25B8 Static
pow10(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:926
\u25B8 Static
randomDecimalForTesting(maxLayers
): Decimal
Name | Type |
---|---|
maxLayers | number |
profectus/src/lib/break_eternity.ts:1096
\u25B8 Static
recip(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:720
\u25B8 Static
reciprocal(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:724
\u25B8 Static
reciprocate(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:728
\u25B8 Static
root(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:930
\u25B8 Static
round(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:664
\u25B8 Static
sgn(value
): number
Name | Type |
---|---|
value | DecimalSource |
number
profectus/src/lib/break_eternity.ts:660
\u25B8 Static
sign(value
): number
Name | Type |
---|---|
value | DecimalSource |
number
profectus/src/lib/break_eternity.ts:656
\u25B8 Static
slog(value
, base?
): Decimal
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
base | number | 10 |
profectus/src/lib/break_eternity.ts:990
\u25B8 Static
slog_critical(base
, height
): number
Name | Type |
---|---|
base | number |
height | number |
number
profectus/src/lib/break_eternity.ts:2667
\u25B8 Static
sqr(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:950
\u25B8 Static
sqrt(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:954
\u25B8 Static
ssqrt(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |
profectus/src/lib/break_eternity.ts:998
\u25B8 Static
sub(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:688
\u25B8 Static
subtract(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:692
\u25B8 Static
sumArithmeticSeries(numItems
, priceStart
, priceAdd
, currentOwned
): Decimal
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:1068
\u25B8 Static
sumArithmeticSeries_core(numItems
, priceStart
, priceAdd
, currentOwned
): Decimal
Name | Type |
---|---|
numItems | Decimal |
priceStart | Decimal |
priceAdd | Decimal |
currentOwned | Decimal |
profectus/src/lib/break_eternity.ts:1174
\u25B8 Static
sumGeometricSeries(numItems
, priceStart
, priceRatio
, currentOwned
): Decimal
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:1035
\u25B8 Static
sumGeometricSeries_core(numItems
, priceStart
, priceRatio
, currentOwned
): Decimal
Name | Type |
---|---|
numItems | DecimalSource |
priceStart | Decimal |
priceRatio | Decimal |
currentOwned | DecimalSource |
profectus/src/lib/break_eternity.ts:1143
\u25B8 Static
tetrate(value
, height?
, payload?
): Decimal
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | number | 2 |
payload | DecimalSource | undefined |
profectus/src/lib/break_eternity.ts:966
\u25B8 Static
tetrate_critical(base
, height
): number
Name | Type |
---|---|
base | number |
height | number |
number
profectus/src/lib/break_eternity.ts:2675
\u25B8 Static
times(value
, other
): Decimal
Name | Type |
---|---|
value | DecimalSource |
other | DecimalSource |
profectus/src/lib/break_eternity.ts:708
\u25B8 Static
trunc(value
): Decimal
Name | Type |
---|---|
value | DecimalSource |