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('

Class: Decimal

lib/break_eternity.Decimal

The Decimal's value is simply mantissa * 10^exponent.

Constructors

constructor

\u2022 new Decimal(value?)

Parameters

NameType
value?DecimalSource

Defined in

profectus/src/lib/break_eternity.ts:509

Properties

layer

\u2022 layer: number = Number.NaN

Defined in

profectus/src/lib/break_eternity.ts:507


mag

\u2022 mag: number = Number.NaN

Defined in

profectus/src/lib/break_eternity.ts:506


sign

\u2022 sign: number = Number.NaN

Defined in

profectus/src/lib/break_eternity.ts:505


dInf

\u25AA Static Readonly dInf: Decimal

Defined in

profectus/src/lib/break_eternity.ts:500


dNaN

\u25AA Static Readonly dNaN: Decimal

Defined in

profectus/src/lib/break_eternity.ts:499


dNegInf

\u25AA Static Readonly dNegInf: Decimal

Defined in

profectus/src/lib/break_eternity.ts:501


dNegOne

\u25AA Static Readonly dNegOne: Decimal

Defined in

profectus/src/lib/break_eternity.ts:496


dNumberMax

\u25AA Static Readonly dNumberMax: Decimal

Defined in

profectus/src/lib/break_eternity.ts:502


dNumberMin

\u25AA Static Readonly dNumberMin: Decimal

Defined in

profectus/src/lib/break_eternity.ts:503


dOne

\u25AA Static Readonly dOne: Decimal

Defined in

profectus/src/lib/break_eternity.ts:495


dTen

\u25AA Static Readonly dTen: Decimal

Defined in

profectus/src/lib/break_eternity.ts:498


dTwo

\u25AA Static Readonly dTwo: Decimal

Defined in

profectus/src/lib/break_eternity.ts:497


dZero

\u25AA Static Readonly dZero: Decimal

Defined in

profectus/src/lib/break_eternity.ts:494

Accessors

e

\u2022 get e(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:558

\u2022 set e(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:571


exponent

\u2022 get exponent(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:597

\u2022 set exponent(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:600


m

\u2022 get m(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:523

\u2022 set m(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:545


mantissa

\u2022 get mantissa(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:589

\u2022 set mantissa(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:593


s

\u2022 get s(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:575

\u2022 set s(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:578

Methods

abs

\u25B8 abs(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1708


absLog10

\u25B8 absLog10(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2181


acos

\u25B8 acos(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3094


acosh

\u25B8 acosh(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3140


add

\u25B8 add(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1772


ascensionPenalty

\u25B8 ascensionPenalty(ascensions): Decimal

Joke function from Realm Grinder

Parameters

NameType
ascensionsDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3161


asin

\u25B8 asin(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3084


asinh

\u25B8 asinh(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3130


atan

\u25B8 atan(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3104


atanh

\u25B8 atanh(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3150


cbrt

\u25B8 cbrt(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2438


ceil

\u25B8 ceil(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1752


clamp

\u25B8 clamp(min, max): Decimal

Parameters

NameType
minDecimalSource
maxDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2092


clampMax

\u25B8 clampMax(max): Decimal

Parameters

NameType
maxDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2100


clampMin

\u25B8 clampMin(min): Decimal

Parameters

NameType
minDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2096


cmp

\u25B8 cmp(value): CompareResult

-1 for less than value, 0 for equals value, 1 for greater than value

Parameters

NameType
valueDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:1995


cmp_tolerance

\u25B8 cmp_tolerance(value, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:2104


cmpabs

\u25B8 cmpabs(value): CompareResult

Parameters

NameType
valueDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:2006


compare

\u25B8 compare(value): CompareResult

Parameters

NameType
valueDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:2025


compare_tolerance

\u25B8 compare_tolerance(value, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:2109


cos

\u25B8 cos(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3064


cosh

\u25B8 cosh(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3120


cube

\u25B8 cube(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2434


div

\u25B8 div(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1957


divide

\u25B8 divide(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1962


divideBy

\u25B8 divideBy(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1966


dividedBy

\u25B8 dividedBy(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1970


egg

\u25B8 egg(): Decimal

Joke function from Cookie Clicker. It's 'egg'

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3172


eq

\u25B8 eq(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2037


eq_tolerance

\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.

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2118


equals

\u25B8 equals(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2044


equals_tolerance

\u25B8 equals_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2142


exp

\u25B8 exp(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2402


factorial

\u25B8 factorial(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2338


floor

\u25B8 floor(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1742


fromComponents

\u25B8 fromComponents(sign, layer, mag): Decimal

Parameters

NameType
signnumber
layernumber
magnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1305


fromComponents_noNormalize

\u25B8 fromComponents_noNormalize(sign, layer, mag): Decimal

Parameters

NameType
signnumber
layernumber
magnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1314


fromDecimal

\u25B8 fromDecimal(value): Decimal

Parameters

NameType
valueDecimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1337


fromMantissaExponent

\u25B8 fromMantissaExponent(mantissa, exponent): Decimal

Parameters

NameType
mantissanumber
exponentnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1321


fromMantissaExponent_noNormalize

\u25B8 fromMantissaExponent_noNormalize(mantissa, exponent): Decimal

Parameters

NameType
mantissanumber
exponentnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1331


fromNumber

\u25B8 fromNumber(value): Decimal

Parameters

NameType
valuenumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1344


fromString

\u25B8 fromString(value): Decimal

Parameters

NameType
valuestring

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1352


fromValue

\u25B8 fromValue(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1558


gamma

\u25B8 gamma(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2351


greaterThan

\u25B8 greaterThan(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:3188


greaterThanOrEqualTo

\u25B8 greaterThanOrEqualTo(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:3184


gt

\u25B8 gt(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2064


gt_tolerance

\u25B8 gt_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2164


gte

\u25B8 gte(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2068


gte_tolerance

\u25B8 gte_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2169


isFinite

\u25B8 isFinite(): boolean

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2033


isNan

\u25B8 isNan(): boolean

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2029


iteratedexp

\u25B8 iteratedexp(height?, payload?): Decimal

Parameters

NameTypeDefault value
heightnumber2
payloadDecimalundefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2566


iteratedlog

\u25B8 iteratedlog(base?, times?): Decimal

Parameters

NameTypeDefault value
baseDecimalSource10
timesnumber1

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2572


lambertw

\u25B8 lambertw(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2810


layeradd

\u25B8 layeradd(diff, base): Decimal

Parameters

NameType
diffnumber
baseDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2793


layeradd10

\u25B8 layeradd10(diff): Decimal

Parameters

NameType
diffDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2726


lessThan

\u25B8 lessThan(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:3180


lessThanOrEqualTo

\u25B8 lessThanOrEqualTo(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:3176


ln

\u25B8 ln(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2232


lngamma

\u25B8 lngamma(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2398


log

\u25B8 log(base): Decimal

Parameters

NameType
baseDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2201


log10

\u25B8 log10(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2191


log2

\u25B8 log2(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2218


logarithm

\u25B8 logarithm(base): Decimal

Parameters

NameType
baseDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2246


lt

\u25B8 lt(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2056


lt_tolerance

\u25B8 lt_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2154


lte

\u25B8 lte(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2060


lte_tolerance

\u25B8 lte_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2159


magnitudeWithDecimalPlaces

\u25B8 magnitudeWithDecimalPlaces(places): number

Parameters

NameType
placesnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1608


mantissaWithDecimalPlaces

\u25B8 mantissaWithDecimalPlaces(places): number

Parameters

NameType
placesnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1595


max

\u25B8 max(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2072


maxabs

\u25B8 maxabs(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2082


min

\u25B8 min(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2077


minabs

\u25B8 minabs(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2087


minus

\u25B8 minus(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1875


mul

\u25B8 mul(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1879


multiply

\u25B8 multiply(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1949


neg

\u25B8 neg(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1712


negate

\u25B8 negate(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1716


negated

\u25B8 negated(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1720


neq

\u25B8 neq(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2048


neq_tolerance

\u25B8 neq_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2146


normalize

\u25B8 normalize(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1237


notEquals

\u25B8 notEquals(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2052


notEquals_tolerance

\u25B8 notEquals_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2150


pLog10

\u25B8 pLog10(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2174


pentate

\u25B8 pentate(height?, payload?): Decimal

Parameters

NameTypeDefault value
heightnumber2
payloadDecimalSourceundefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3018


plus

\u25B8 plus(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1863


pow

\u25B8 pow(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2250


pow10

\u25B8 pow10(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2289


pow_base

\u25B8 pow_base(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2329


recip

\u25B8 recip(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1974


reciprocal

\u25B8 reciprocal(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1984


reciprocate

\u25B8 reciprocate(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1988


root

\u25B8 root(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2333


round

\u25B8 round(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1732


sgn

\u25B8 sgn(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1728


sin

\u25B8 sin(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3054


sinh

\u25B8 sinh(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3114


slog

\u25B8 slog(base?): Decimal

Parameters

NameTypeDefault value
baseDecimalSource10

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2614


sqr

\u25B8 sqr(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2417


sqrt

\u25B8 sqrt(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2421


ssqrt

\u25B8 ssqrt(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2832


sub

\u25B8 sub(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1867


subtract

\u25B8 subtract(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1871


tan

\u25B8 tan(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3074


tanh

\u25B8 tanh(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:3126


tetrate

\u25B8 tetrate(height?, payload?): Decimal

Parameters

NameTypeDefault value
heightnumber2
payloadDecimalSourceundefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:2445


times

\u25B8 times(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1953


toExponential

\u25B8 toExponential(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1646


toFixed

\u25B8 toFixed(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1653


toJSON

\u25B8 toJSON(): string

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1676


toNumber

\u25B8 toNumber(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1577


toPrecision

\u25B8 toPrecision(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1660


toString

\u25B8 toString(): string

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1621


toStringWithDecimalPlaces

\u25B8 toStringWithDecimalPlaces(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1680


trunc

\u25B8 trunc(): Decimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1762


valueOf

\u25B8 valueOf(): string

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1672


abs

\u25B8 Static abs(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:640


absLog10

\u25B8 Static absLog10(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:898


add

\u25B8 Static add(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:680


affordArithmeticSeries

\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?

Parameters

NameType
resourcesAvailableDecimalSource
priceStartDecimalSource
priceAddDecimalSource
currentOwnedDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1049


affordArithmeticSeries_core

\u25B8 Static affordArithmeticSeries_core(resourcesAvailable, priceStart, priceAdd, currentOwned): Decimal

Parameters

NameType
resourcesAvailableDecimal
priceStartDecimal
priceAddDecimal
currentOwnedDecimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1155


affordGeometricSeries

\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.

Parameters

NameType
resourcesAvailableDecimalSource
priceStartDecimalSource
priceRatioDecimalSource
currentOwnedDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1017


affordGeometricSeries_core

\u25B8 Static affordGeometricSeries_core(resourcesAvailable, priceStart, priceRatio, currentOwned): Decimal

Parameters

NameType
resourcesAvailableDecimal
priceStartDecimal
priceRatioDecimal
currentOwnedDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1126


cbrt

\u25B8 Static cbrt(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:962


ceil

\u25B8 Static ceil(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:672


clamp

\u25B8 Static clamp(value, min, max): Decimal

Parameters

NameType
valueDecimalSource
minDecimalSource
maxDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:802


clampMax

\u25B8 Static clampMax(value, max): Decimal

Parameters

NameType
valueDecimalSource
maxDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:810


clampMin

\u25B8 Static clampMin(value, min): Decimal

Parameters

NameType
valueDecimalSource
minDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:806


cmp

\u25B8 Static cmp(value, other): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:732


cmp_tolerance

\u25B8 Static cmp_tolerance(value, other, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:814


cmpabs

\u25B8 Static cmpabs(value, other): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:736


compare

\u25B8 Static compare(value, other): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:740


compare_tolerance

\u25B8 Static compare_tolerance(value, other, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:822


critical_section

\u25B8 Static critical_section(base, height, grid): number

Parameters

NameType
basenumber
heightnumber
gridnumber[][]

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:2679


cube

\u25B8 Static cube(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:958


div

\u25B8 Static div(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:712


divide

\u25B8 Static divide(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:716


efficiencyOfPurchase

\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

Parameters

NameType
costDecimalSource
currentRpSDecimalSource
deltaRpSDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1088


efficiencyOfPurchase_core

\u25B8 Static efficiencyOfPurchase_core(cost, currentRpS, deltaRpS): Decimal

Parameters

NameType
costDecimal
currentRpSDecimal
deltaRpSDecimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1185


eq

\u25B8 Static eq(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:754


eq_tolerance

\u25B8 Static eq_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:830


equals

\u25B8 Static equals(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:758


equals_tolerance

\u25B8 Static equals_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:838


exp

\u25B8 Static exp(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:946


factorial

\u25B8 Static factorial(value, _other?): Decimal

Parameters

NameType
valueDecimalSource
_other?undefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:934


floor

\u25B8 Static floor(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:668


fromComponents

\u25B8 Static fromComponents(sign, layer, mag): Decimal

Parameters

NameType
signnumber
layernumber
magnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:604


fromComponents_noNormalize

\u25B8 Static fromComponents_noNormalize(sign, layer, mag): Decimal

Parameters

NameType
signnumber
layernumber
magnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:608


fromDecimal

\u25B8 Static fromDecimal(value): Decimal

Parameters

NameType
valueDecimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:620


fromMantissaExponent

\u25B8 Static fromMantissaExponent(mantissa, exponent): Decimal

Parameters

NameType
mantissanumber
exponentnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:612


fromMantissaExponent_noNormalize

\u25B8 Static fromMantissaExponent_noNormalize(mantissa, exponent): Decimal

Parameters

NameType
mantissanumber
exponentnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:616


fromNumber

\u25B8 Static fromNumber(value): Decimal

Parameters

NameType
valuenumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:624


fromString

\u25B8 Static fromString(value): Decimal

Parameters

NameType
valuestring

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:628


fromValue

\u25B8 Static fromValue(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:632


fromValue_noAlloc

\u25B8 Static fromValue_noAlloc(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:636


gamma

\u25B8 Static gamma(value, _other?): Decimal

Parameters

NameType
valueDecimalSource
_other?undefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:938


gt

\u25B8 Static gt(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:778


gt_tolerance

\u25B8 Static gt_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:878


gte

\u25B8 Static gte(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:782


gte_tolerance

\u25B8 Static gte_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:886


isFinite

\u25B8 Static isFinite(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:749


isNaN

\u25B8 Static isNaN(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:744


iteratedexp

\u25B8 Static iteratedexp(value, height?, payload?): Decimal

Parameters

NameTypeDefault value
valueDecimalSourceundefined
heightnumber2
payloadDecimalundefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:974


iteratedlog

\u25B8 Static iteratedlog(value, base?, times?): Decimal

Parameters

NameTypeDefault value
valueDecimalSourceundefined
baseDecimalSource10
timesnumber1

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:978


lambertw

\u25B8 Static lambertw(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:994


layeradd

\u25B8 Static layeradd(value, diff, base?): Decimal

Parameters

NameTypeDefault value
valueDecimalSourceundefined
diffnumberundefined
basenumber10

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:986


layeradd10

\u25B8 Static layeradd10(value, diff): Decimal

Parameters

NameType
valueDecimalSource
diffDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:982


ln

\u25B8 Static ln(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:914


lngamma

\u25B8 Static lngamma(value, _other?): Decimal

Parameters

NameType
valueDecimalSource
_other?undefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:942


log

\u25B8 Static log(value, base): Decimal

Parameters

NameType
valueDecimalSource
baseDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:906


log10

\u25B8 Static log10(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:902


log2

\u25B8 Static log2(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:910


logarithm

\u25B8 Static logarithm(value, base): Decimal

Parameters

NameType
valueDecimalSource
baseDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:918


lt

\u25B8 Static lt(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:770


lt_tolerance

\u25B8 Static lt_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:862


lte

\u25B8 Static lte(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:774


lte_tolerance

\u25B8 Static lte_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:870


max

\u25B8 Static max(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:786


maxabs

\u25B8 Static maxabs(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:798


min

\u25B8 Static min(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:790


minabs

\u25B8 Static minabs(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:794


minus

\u25B8 Static minus(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:696


mul

\u25B8 Static mul(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:700


multiply

\u25B8 Static multiply(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:704


neg

\u25B8 Static neg(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:644


negate

\u25B8 Static negate(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:648


negated

\u25B8 Static negated(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:652


neq

\u25B8 Static neq(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:762


neq_tolerance

\u25B8 Static neq_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:846


notEquals

\u25B8 Static notEquals(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:766


notEquals_tolerance

\u25B8 Static notEquals_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:854


pLog10

\u25B8 Static pLog10(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:894


pentate

\u25B8 Static pentate(value, height?, payload?): Decimal

Parameters

NameTypeDefault value
valueDecimalSourceundefined
heightnumber2
payloadDecimalSourceundefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1002


plus

\u25B8 Static plus(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:684


pow

\u25B8 Static pow(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:922


pow10

\u25B8 Static pow10(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:926


randomDecimalForTesting

\u25B8 Static randomDecimalForTesting(maxLayers): Decimal

Parameters

NameType
maxLayersnumber

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1096


recip

\u25B8 Static recip(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:720


reciprocal

\u25B8 Static reciprocal(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:724


reciprocate

\u25B8 Static reciprocate(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:728


root

\u25B8 Static root(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:930


round

\u25B8 Static round(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:664


sgn

\u25B8 Static sgn(value): number

Parameters

NameType
valueDecimalSource

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:660


sign

\u25B8 Static sign(value): number

Parameters

NameType
valueDecimalSource

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:656


slog

\u25B8 Static slog(value, base?): Decimal

Parameters

NameTypeDefault value
valueDecimalSourceundefined
basenumber10

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:990


slog_critical

\u25B8 Static slog_critical(base, height): number

Parameters

NameType
basenumber
heightnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:2667


sqr

\u25B8 Static sqr(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:950


sqrt

\u25B8 Static sqrt(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:954


ssqrt

\u25B8 Static ssqrt(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:998


sub

\u25B8 Static sub(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:688


subtract

\u25B8 Static subtract(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:692


sumArithmeticSeries

\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

Parameters

NameType
numItemsDecimalSource
priceStartDecimalSource
priceAddDecimalSource
currentOwnedDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1068


sumArithmeticSeries_core

\u25B8 Static sumArithmeticSeries_core(numItems, priceStart, priceAdd, currentOwned): Decimal

Parameters

NameType
numItemsDecimal
priceStartDecimal
priceAddDecimal
currentOwnedDecimal

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1174


sumGeometricSeries

\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?

Parameters

NameType
numItemsDecimalSource
priceStartDecimalSource
priceRatioDecimalSource
currentOwnedDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1035


sumGeometricSeries_core

\u25B8 Static sumGeometricSeries_core(numItems, priceStart, priceRatio, currentOwned): Decimal

Parameters

NameType
numItemsDecimalSource
priceStartDecimal
priceRatioDecimal
currentOwnedDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:1143


tetrate

\u25B8 Static tetrate(value, height?, payload?): Decimal

Parameters

NameTypeDefault value
valueDecimalSourceundefined
heightnumber2
payloadDecimalSourceundefined

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:966


tetrate_critical

\u25B8 Static tetrate_critical(base, height): number

Parameters

NameType
basenumber
heightnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:2675


times

\u25B8 Static times(value, other): Decimal

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:708


trunc

\u25B8 Static trunc(value): Decimal

Parameters

NameType
valueDecimalSource

Returns

Decimal

Defined in

profectus/src/lib/break_eternity.ts:676

',2056),n=[i];function l(c,o,h,s,b,f){return a(),t("div",null,n)}var m=e(d,[["render",l]]);export{p as __pageData,m as default};