import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const m=JSON.parse('{"title":"Class: default","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/classes/lib/break_eternity.default.md","lastUpdated":null}'),d={name:"api/classes/lib/break_eternity.default.md"},l=r('

Class: default

lib/break_eternity.default

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

Constructors

constructor

new default(value?)

Parameters

NameType
value?DecimalSource

Defined in

profectus/src/lib/break_eternity.ts:364

Properties

layer

layer: number = 0

Defined in

profectus/src/lib/break_eternity.ts:362


mag

mag: number = 0

Defined in

profectus/src/lib/break_eternity.ts:361


sign

sign: number = 0

Defined in

profectus/src/lib/break_eternity.ts:360


dInf

Static dInf: default

Defined in

profectus/src/lib/break_eternity.ts:353


dNaN

Static dNaN: default

Defined in

profectus/src/lib/break_eternity.ts:352


dNegInf

Static dNegInf: default

Defined in

profectus/src/lib/break_eternity.ts:354


dNegOne

Static dNegOne: default

Defined in

profectus/src/lib/break_eternity.ts:349


dNumberMax

Static dNumberMax: default

Defined in

profectus/src/lib/break_eternity.ts:355


dNumberMin

Static dNumberMin: default

Defined in

profectus/src/lib/break_eternity.ts:356


dOne

Static dOne: default

Defined in

profectus/src/lib/break_eternity.ts:348


dTen

Static dTen: default

Defined in

profectus/src/lib/break_eternity.ts:351


dTwo

Static dTwo: default

Defined in

profectus/src/lib/break_eternity.ts:350


dZero

Static dZero: default

Defined in

profectus/src/lib/break_eternity.ts:347


fromStringCache

Static Private fromStringCache: LRUCache<string, default>

Defined in

profectus/src/lib/break_eternity.ts:358

Accessors

e

get e(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:409

set e(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:422


exponent

get exponent(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:448

set exponent(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:451


m

get m(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:374

set m(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:396


mantissa

get mantissa(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:440

set mantissa(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:444


s

get s(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:426

set s(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

profectus/src/lib/break_eternity.ts:429

Methods

abs

abs(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1634


absLog10

absLog10(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2107


acos

acos(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2883


acosh

acosh(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2919


add

add(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1698


ascensionPenalty

ascensionPenalty(ascensions): default

Joke function from Realm Grinder

Parameters

NameType
ascensionsDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2934


asin

asin(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2873


asinh

asinh(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2915


atan

atan(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2893


atanh

atanh(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2923


cbrt

cbrt(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2361


ceil

ceil(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1678


clamp

clamp(min, max): default

Parameters

NameType
minDecimalSource
maxDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2018


clampMax

clampMax(max): default

Parameters

NameType
maxDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2026


clampMin

clampMin(min): default

Parameters

NameType
minDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2022


cmp

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:1921


cmp_tolerance

cmp_tolerance(value, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:2030


cmpabs

cmpabs(value): CompareResult

Parameters

NameType
valueDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:1932


compare

compare(value): CompareResult

Parameters

NameType
valueDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:1951


compare_tolerance

compare_tolerance(value, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:2035


cos

cos(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2853


cosh

cosh(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2907


cube

cube(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2357


div

div(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1883


divide

divide(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1888


divideBy

divideBy(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1892


dividedBy

dividedBy(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1896


egg

egg(): default

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

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2945


eq

eq(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1963


eq_tolerance

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
tolerance?number

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2044


equals

equals(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1970


equals_tolerance

equals_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2068


exp

exp(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2325


factorial

factorial(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2261


floor

floor(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1668


fromComponents

fromComponents(sign, layer, mag): default

Parameters

NameType
signnumber
layernumber
magnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1188


fromComponents_noNormalize

fromComponents_noNormalize(sign, layer, mag): default

Parameters

NameType
signnumber
layernumber
magnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1197


fromDecimal

fromDecimal(value): default

Parameters

NameType
valuedefault

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1220


fromMantissaExponent

fromMantissaExponent(mantissa, exponent): default

Parameters

NameType
mantissanumber
exponentnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1204


fromMantissaExponent_noNormalize

fromMantissaExponent_noNormalize(mantissa, exponent): default

Parameters

NameType
mantissanumber
exponentnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1214


fromNumber

fromNumber(value): default

Parameters

NameType
valuenumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1227


fromString

fromString(value): default

Parameters

NameType
valuestring

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1235


fromValue

fromValue(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1484


gamma

gamma(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2274


greaterThan

greaterThan(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2961


greaterThanOrEqualTo

greaterThanOrEqualTo(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2957


gt

gt(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1990


gt_tolerance

gt_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2090


gte

gte(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1994


gte_tolerance

gte_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2095


isFinite

isFinite(): boolean

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1959


isNan

isNan(): boolean

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1955


iteratedexp

iteratedexp(height?, payload?): default

Parameters

NameTypeDefault value
heightnumber2
payloaddefaultundefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2489


iteratedlog

iteratedlog(base?, times?): default

Parameters

NameTypeDefault value
baseDecimalSource10
timesnumber1

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2495


lambertw

lambertw(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2775


layeradd

layeradd(diff, base): default

Parameters

NameType
diffnumber
baseDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2758


layeradd10

layeradd10(diff): default

Parameters

NameType
diffDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2691


lessThan

lessThan(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2953


lessThanOrEqualTo

lessThanOrEqualTo(other): boolean

Parameters

NameType
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2949


ln

ln(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2158


lngamma

lngamma(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2321


log

log(base): default

Parameters

NameType
baseDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2127


log10

log10(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2117


log2

log2(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2144


logarithm

logarithm(base): default

Parameters

NameType
baseDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2172


lt

lt(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1982


lt_tolerance

lt_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2080


lte

lte(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1986


lte_tolerance

lte_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2085


magnitudeWithDecimalPlaces

magnitudeWithDecimalPlaces(places): number

Parameters

NameType
placesnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1534


mantissaWithDecimalPlaces

mantissaWithDecimalPlaces(places): number

Parameters

NameType
placesnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1521


max

max(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1998


maxabs

maxabs(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2008


min

min(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2003


minabs

minabs(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2013


minus

minus(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1801


mul

mul(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1805


multiply

multiply(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1875


neg

neg(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1638


negate

negate(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1642


negated

negated(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1646


neq

neq(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1974


neq_tolerance

neq_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2072


normalize

normalize(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1120


notEquals

notEquals(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:1978


notEquals_tolerance

notEquals_tolerance(value, tolerance): boolean

Parameters

NameType
valueDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:2076


pLog10

pLog10(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2100


pentate

pentate(height?, payload?): default

Parameters

NameTypeDefault value
heightnumber2
payloadDecimalSourceundefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2807


plus

plus(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1789


pow

pow(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2176


pow10

pow10(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2212


pow_base

pow_base(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2252


recip

recip(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1900


reciprocal

reciprocal(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1910


reciprocate

reciprocate(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1914


root

root(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2256


round

round(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1658


sgn

sgn(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1654


sin

sin(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2843


sinh

sinh(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2903


slog

slog(base?, iterations?): default

Parameters

NameTypeDefault value
baseDecimalSource10
iterationsnumber100

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2538


slog_internal

slog_internal(base?): default

Parameters

NameTypeDefault value
baseDecimalSource10

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2566


sqr

sqr(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2340


sqrt

sqrt(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2344


ssqrt

ssqrt(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2797


sub

sub(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1793


subtract

subtract(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1797


tan

tan(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2863


tanh

tanh(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2911


tetrate

tetrate(height?, payload?): default

Parameters

NameTypeDefault value
heightnumber2
payloadDecimalSourceundefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:2368


times

times(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1879


toExponential

toExponential(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1572


toFixed

toFixed(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1579


toJSON

toJSON(): string

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1602


toNumber

toNumber(): number

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:1503


toPrecision

toPrecision(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1586


toString

toString(): string

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1547


toStringWithDecimalPlaces

toStringWithDecimalPlaces(places): string

Parameters

NameType
placesnumber

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1606


trunc

trunc(): default

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1688


valueOf

valueOf(): string

Returns

string

Defined in

profectus/src/lib/break_eternity.ts:1598


abs

Static abs(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:515


absLog10

Static absLog10(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:773


acos

Static acos(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:905


acosh

Static acosh(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:929


add

Static add(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:555


affordArithmeticSeries

Static affordArithmeticSeries(resourcesAvailable, priceStart, priceAdd, currentOwned): default

If you're willing to spend 'resourcesAvailable' and want to buy something with additively increasing cost each purchase (start at priceStart, add by priceAdd, already own currentOwned), how much of it can you buy?

Parameters

NameType
resourcesAvailableDecimalSource
priceStartDecimalSource
priceAddDecimalSource
currentOwnedDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:976


affordArithmeticSeries_core

Static affordArithmeticSeries_core(resourcesAvailable, priceStart, priceAdd, currentOwned): default

Parameters

NameType
resourcesAvailabledefault
priceStartdefault
priceAdddefault
currentOwneddefault

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1082


affordGeometricSeries

Static affordGeometricSeries(resourcesAvailable, priceStart, priceRatio, currentOwned): default

If you're willing to spend 'resourcesAvailable' and want to buy something with exponentially increasing cost each purchase (start at priceStart, multiply by priceRatio, already own currentOwned), how much of it can you buy? Adapted from Trimps source code.

Parameters

NameType
resourcesAvailableDecimalSource
priceStartDecimalSource
priceRatioDecimalSource
currentOwnedDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:944


affordGeometricSeries_core

Static affordGeometricSeries_core(resourcesAvailable, priceStart, priceRatio, currentOwned): default

Parameters

NameType
resourcesAvailabledefault
priceStartdefault
priceRatiodefault
currentOwnedDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1053


asin

Static asin(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:901


asinh

Static asinh(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:925


atan

Static atan(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:909


atanh

Static atanh(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:933


cbrt

Static cbrt(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:841


ceil

Static ceil(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:547


clamp

Static clamp(value, min, max): default

Parameters

NameType
valueDecimalSource
minDecimalSource
maxDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:677


clampMax

Static clampMax(value, max): default

Parameters

NameType
valueDecimalSource
maxDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:685


clampMin

Static clampMin(value, min): default

Parameters

NameType
valueDecimalSource
minDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:681


cmp

Static cmp(value, other): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:607


cmp_tolerance

Static cmp_tolerance(value, other, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:689


cmpabs

Static cmpabs(value, other): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:611


compare

Static compare(value, other): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:615


compare_tolerance

Static compare_tolerance(value, other, tolerance): CompareResult

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

CompareResult

Defined in

profectus/src/lib/break_eternity.ts:697


cos

Static cos(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:893


cosh

Static cosh(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:917


critical_section

Static critical_section(base, height, grid): number

Parameters

NameType
basenumber
heightnumber
gridnumber[][]

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:2633


cube

Static cube(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:837


div

Static div(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:587


divide

Static divide(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:591


efficiencyOfPurchase

Static efficiencyOfPurchase(cost, currentRpS, deltaRpS): default

When comparing two purchases that cost (resource) and increase your resource/sec by (deltaRpS), the lowest efficiency score is the better one to purchase. From Frozen Cookies: http://cookieclicker.wikia.com/wiki/Frozen_Cookies_(JavaScript_Add-on)#Efficiency.3F_What.27s_that.3F

Parameters

NameType
costDecimalSource
currentRpSDecimalSource
deltaRpSDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1015


efficiencyOfPurchase_core

Static efficiencyOfPurchase_core(cost, currentRpS, deltaRpS): default

Parameters

NameType
costdefault
currentRpSdefault
deltaRpSdefault

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1112


eq

Static eq(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:629


eq_tolerance

Static eq_tolerance(value, other, tolerance?): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerance?number

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:705


equals

Static equals(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:633


equals_tolerance

Static equals_tolerance(value, other, tolerance?): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerance?number

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:713


exp

Static exp(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:825


factorial

Static factorial(value, _other?): default

Parameters

NameType
valueDecimalSource
_other?undefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:813


floor

Static floor(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:543


fromComponents

Static fromComponents(sign, layer, mag): default

Parameters

NameType
signnumber
layernumber
magnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:455


fromComponents_noNormalize

Static fromComponents_noNormalize(sign, layer, mag): default

Parameters

NameType
signnumber
layernumber
magnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:459


fromDecimal

Static fromDecimal(value): default

Parameters

NameType
valuedefault

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:471


fromMantissaExponent

Static fromMantissaExponent(mantissa, exponent): default

Parameters

NameType
mantissanumber
exponentnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:463


fromMantissaExponent_noNormalize

Static fromMantissaExponent_noNormalize(mantissa, exponent): default

Parameters

NameType
mantissanumber
exponentnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:467


fromNumber

Static fromNumber(value): default

Parameters

NameType
valuenumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:475


fromString

Static fromString(value): default

Parameters

NameType
valuestring

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:479


fromValue

Static fromValue(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:483


fromValue_noAlloc

Static fromValue_noAlloc(value): Readonly<default>

Converts a DecimalSource to a Decimal, without constructing a new Decimal if the provided value is already a Decimal.

As the return value could be the provided value itself, this function returns a read-only Decimal to prevent accidental mutations of the value. Use new Decimal(value) to explicitly create a writeable copy if mutation is required.

Parameters

NameType
valueDecimalSource

Returns

Readonly<default>

Defined in

profectus/src/lib/break_eternity.ts:496


gamma

Static gamma(value, _other?): default

Parameters

NameType
valueDecimalSource
_other?undefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:817


gt

Static gt(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:653


gt_tolerance

Static gt_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:753


gte

Static gte(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:657


gte_tolerance

Static gte_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:761


isFinite

Static isFinite(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:624


isNaN

Static isNaN(value): boolean

Parameters

NameType
valueDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:619


iteratedexp

Static iteratedexp(value, height?, payload?): default

Parameters

NameTypeDefault value
valueDecimalSourceundefined
heightnumber2
payloaddefaultundefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:853


iteratedlog

Static iteratedlog(value, base?, times?): default

Parameters

NameTypeDefault value
valueDecimalSourceundefined
baseDecimalSource10
timesnumber1

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:857


lambertw

Static lambertw(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:873


layeradd

Static layeradd(value, diff, base?): default

Parameters

NameTypeDefault value
valueDecimalSourceundefined
diffnumberundefined
baseDecimalSource10

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:865


layeradd10

Static layeradd10(value, diff): default

Parameters

NameType
valueDecimalSource
diffDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:861


ln

Static ln(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:789


lngamma

Static lngamma(value, _other?): default

Parameters

NameType
valueDecimalSource
_other?undefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:821


log

Static log(value, base): default

Parameters

NameType
valueDecimalSource
baseDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:781


log10

Static log10(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:777


log2

Static log2(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:785


logarithm

Static logarithm(value, base): default

Parameters

NameType
valueDecimalSource
baseDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:793


lt

Static lt(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:645


lt_tolerance

Static lt_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:737


lte

Static lte(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:649


lte_tolerance

Static lte_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:745


max

Static max(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:661


maxabs

Static maxabs(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:673


min

Static min(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:665


minabs

Static minabs(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:669


minus

Static minus(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:571


mul

Static mul(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:575


multiply

Static multiply(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:579


neg

Static neg(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:519


negate

Static negate(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:523


negated

Static negated(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:527


neq

Static neq(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:637


neq_tolerance

Static neq_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:721


notEquals

Static notEquals(value, other): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:641


notEquals_tolerance

Static notEquals_tolerance(value, other, tolerance): boolean

Parameters

NameType
valueDecimalSource
otherDecimalSource
tolerancenumber

Returns

boolean

Defined in

profectus/src/lib/break_eternity.ts:729


pLog10

Static pLog10(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:769


pentate

Static pentate(value, height?, payload?): default

Parameters

NameTypeDefault value
valueDecimalSourceundefined
heightnumber2
payloadDecimalSourceundefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:881


plus

Static plus(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:559


pow

Static pow(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:797


pow10

Static pow10(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:801


pow_base

Static pow_base(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:805


randomDecimalForTesting

Static randomDecimalForTesting(maxLayers): default

Parameters

NameType
maxLayersnumber

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1023


recip

Static recip(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:595


reciprocal

Static reciprocal(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:599


reciprocate

Static reciprocate(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:603


root

Static root(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:809


round

Static round(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:539


sgn

Static sgn(value): number

Parameters

NameType
valueDecimalSource

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:535


sign

Static sign(value): number

Parameters

NameType
valueDecimalSource

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:531


sin

Static sin(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:889


sinh

Static sinh(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:913


slog

Static slog(value, base?): default

Parameters

NameTypeDefault value
valueDecimalSourceundefined
basenumber10

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:869


slog_critical

Static slog_critical(base, height): number

Parameters

NameType
basenumber
heightnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:2621


sqr

Static sqr(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:829


sqrt

Static sqrt(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:833


ssqrt

Static ssqrt(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:877


sub

Static sub(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:563


subtract

Static subtract(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:567


sumArithmeticSeries

Static sumArithmeticSeries(numItems, priceStart, priceAdd, currentOwned): default

How much resource would it cost to buy (numItems) items if you already have currentOwned, the initial price is priceStart and it adds priceAdd each purchase? Adapted from http://www.mathwords.com/a/arithmetic_series.htm

Parameters

NameType
numItemsDecimalSource
priceStartDecimalSource
priceAddDecimalSource
currentOwnedDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:995


sumArithmeticSeries_core

Static sumArithmeticSeries_core(numItems, priceStart, priceAdd, currentOwned): default

Parameters

NameType
numItemsdefault
priceStartdefault
priceAdddefault
currentOwneddefault

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1101


sumGeometricSeries

Static sumGeometricSeries(numItems, priceStart, priceRatio, currentOwned): default

How much resource would it cost to buy (numItems) items if you already have currentOwned, the initial price is priceStart and it multiplies by priceRatio each purchase?

Parameters

NameType
numItemsDecimalSource
priceStartDecimalSource
priceRatioDecimalSource
currentOwnedDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:962


sumGeometricSeries_core

Static sumGeometricSeries_core(numItems, priceStart, priceRatio, currentOwned): default

Parameters

NameType
numItemsDecimalSource
priceStartdefault
priceRatiodefault
currentOwnedDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:1070


tan

Static tan(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:897


tanh

Static tanh(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:921


tetrate

Static tetrate(value, height?, payload?): default

Parameters

NameTypeDefault value
valueDecimalSourceundefined
heightnumber2
payloadDecimalSourceundefined

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:845


tetrate_critical

Static tetrate_critical(base, height): number

Parameters

NameType
basenumber
heightnumber

Returns

number

Defined in

profectus/src/lib/break_eternity.ts:2629


times

Static times(value, other): default

Parameters

NameType
valueDecimalSource
otherDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:583


trunc

Static trunc(value): default

Parameters

NameType
valueDecimalSource

Returns

default

Defined in

profectus/src/lib/break_eternity.ts:551

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