Module: lib/break_eternity
Classes
default
• default: Object
The Decimal's value is simply mantissa * 10^exponent.
Name | Type |
---|---|
constructor | (value? : DecimalSource ) => default |
layer | number |
mag | number |
sign | number |
dInf | default |
dNaN | default |
dNegInf | default |
dNegOne | default |
dNumberMax | default |
dNumberMin | default |
dOne | default |
dTen | default |
dTwo | default |
dZero | default |
fromStringCache | LRUCache <string , default > |
get e() | number |
get exponent() | number |
get m() | number |
get mantissa() | number |
get s() | number |
abs | () => default |
absLog10 | () => default |
acos | () => default |
acosh | () => default |
add | (value : DecimalSource ) => default |
ascensionPenalty | (ascensions : DecimalSource ) => default |
asin | () => default |
asinh | () => default |
atan | () => default |
atanh | () => default |
cbrt | () => default |
ceil | () => default |
clamp | (min : DecimalSource , max : DecimalSource ) => default |
clampMax | (max : DecimalSource ) => default |
clampMin | (min : DecimalSource ) => default |
cmp | (value : DecimalSource ) => CompareResult |
cmp_tolerance | (value : DecimalSource , tolerance : number ) => CompareResult |
cmpabs | (value : DecimalSource ) => CompareResult |
compare | (value : DecimalSource ) => CompareResult |
compare_tolerance | (value : DecimalSource , tolerance : number ) => CompareResult |
cos | () => default |
cosh | () => default |
cube | () => default |
div | (value : DecimalSource ) => default |
divide | (value : DecimalSource ) => default |
divideBy | (value : DecimalSource ) => default |
dividedBy | (value : DecimalSource ) => default |
egg | () => default |
eq | (value : DecimalSource ) => boolean |
eq_tolerance | (value : DecimalSource , tolerance? : number ) => boolean |
equals | (value : DecimalSource ) => boolean |
equals_tolerance | (value : DecimalSource , tolerance : number ) => boolean |
exp | () => default |
factorial | () => default |
floor | () => default |
fromComponents | (sign : number , layer : number , mag : number ) => default |
fromComponents_noNormalize | (sign : number , layer : number , mag : number ) => default |
fromDecimal | (value : default ) => default |
fromMantissaExponent | (mantissa : number , exponent : number ) => default |
fromMantissaExponent_noNormalize | (mantissa : number , exponent : number ) => default |
fromNumber | (value : number ) => default |
fromString | (value : string ) => default |
fromValue | (value : DecimalSource ) => default |
gamma | () => default |
greaterThan | (other : DecimalSource ) => boolean |
greaterThanOrEqualTo | (other : DecimalSource ) => boolean |
gt | (value : DecimalSource ) => boolean |
gt_tolerance | (value : DecimalSource , tolerance : number ) => boolean |
gte | (value : DecimalSource ) => boolean |
gte_tolerance | (value : DecimalSource , tolerance : number ) => boolean |
isFinite | () => boolean |
isNan | () => boolean |
iteratedexp | (height : number , payload : default ) => default |
iteratedlog | (base : DecimalSource , times : number ) => default |
lambertw | () => default |
layeradd | (diff : number , base : DecimalSource ) => default |
layeradd10 | (diff : DecimalSource ) => default |
lessThan | (other : DecimalSource ) => boolean |
lessThanOrEqualTo | (other : DecimalSource ) => boolean |
ln | () => default |
lngamma | () => default |
log | (base : DecimalSource ) => default |
log10 | () => default |
log2 | () => default |
logarithm | (base : DecimalSource ) => default |
lt | (value : DecimalSource ) => boolean |
lt_tolerance | (value : DecimalSource , tolerance : number ) => boolean |
lte | (value : DecimalSource ) => boolean |
lte_tolerance | (value : DecimalSource , tolerance : number ) => boolean |
magnitudeWithDecimalPlaces | (places : number ) => number |
mantissaWithDecimalPlaces | (places : number ) => number |
max | (value : DecimalSource ) => default |
maxabs | (value : DecimalSource ) => default |
min | (value : DecimalSource ) => default |
minabs | (value : DecimalSource ) => default |
minus | (value : DecimalSource ) => default |
mul | (value : DecimalSource ) => default |
multiply | (value : DecimalSource ) => default |
neg | () => default |
negate | () => default |
negated | () => default |
neq | (value : DecimalSource ) => boolean |
neq_tolerance | (value : DecimalSource , tolerance : number ) => boolean |
normalize | () => default |
notEquals | (value : DecimalSource ) => boolean |
notEquals_tolerance | (value : DecimalSource , tolerance : number ) => boolean |
pLog10 | () => default |
pentate | (height : number , payload : DecimalSource ) => default |
plus | (value : DecimalSource ) => default |
pow | (value : DecimalSource ) => default |
pow10 | () => default |
pow_base | (value : DecimalSource ) => default |
recip | () => default |
reciprocal | () => default |
reciprocate | () => default |
root | (value : DecimalSource ) => default |
round | () => default |
sgn | () => number |
sin | () => default |
sinh | () => default |
slog | (base : DecimalSource , iterations : number ) => default |
slog_internal | (base : DecimalSource ) => default |
sqr | () => default |
sqrt | () => default |
ssqrt | () => default |
sub | (value : DecimalSource ) => default |
subtract | (value : DecimalSource ) => default |
tan | () => default |
tanh | () => default |
tetrate | (height : number , payload : DecimalSource ) => default |
times | (value : DecimalSource ) => default |
toExponential | (places : number ) => string |
toFixed | (places : number ) => string |
toJSON | () => string |
toNumber | () => number |
toPrecision | (places : number ) => string |
toString | () => string |
toStringWithDecimalPlaces | (places : number ) => string |
trunc | () => default |
valueOf | () => string |
abs | (value : DecimalSource ) => default |
absLog10 | (value : DecimalSource ) => default |
acos | (value : DecimalSource ) => default |
acosh | (value : DecimalSource ) => default |
add | (value : DecimalSource , other : DecimalSource ) => default |
affordArithmeticSeries | (resourcesAvailable : DecimalSource , priceStart : DecimalSource , priceAdd : DecimalSource , currentOwned : DecimalSource ) => default |
affordArithmeticSeries_core | (resourcesAvailable : default , priceStart : default , priceAdd : default , currentOwned : default ) => default |
affordGeometricSeries | (resourcesAvailable : DecimalSource , priceStart : DecimalSource , priceRatio : DecimalSource , currentOwned : DecimalSource ) => default |
affordGeometricSeries_core | (resourcesAvailable : default , priceStart : default , priceRatio : default , currentOwned : DecimalSource ) => default |
asin | (value : DecimalSource ) => default |
asinh | (value : DecimalSource ) => default |
atan | (value : DecimalSource ) => default |
atanh | (value : DecimalSource ) => default |
cbrt | (value : DecimalSource ) => default |
ceil | (value : DecimalSource ) => default |
clamp | (value : DecimalSource , min : DecimalSource , max : DecimalSource ) => default |
clampMax | (value : DecimalSource , max : DecimalSource ) => default |
clampMin | (value : DecimalSource , min : DecimalSource ) => default |
cmp | (value : DecimalSource , other : DecimalSource ) => CompareResult |
cmp_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => CompareResult |
cmpabs | (value : DecimalSource , other : DecimalSource ) => CompareResult |
compare | (value : DecimalSource , other : DecimalSource ) => CompareResult |
compare_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => CompareResult |
cos | (value : DecimalSource ) => default |
cosh | (value : DecimalSource ) => default |
critical_section | (base : number , height : number , grid : number [][]) => number |
cube | (value : DecimalSource ) => default |
div | (value : DecimalSource , other : DecimalSource ) => default |
divide | (value : DecimalSource , other : DecimalSource ) => default |
efficiencyOfPurchase | (cost : DecimalSource , currentRpS : DecimalSource , deltaRpS : DecimalSource ) => default |
efficiencyOfPurchase_core | (cost : default , currentRpS : default , deltaRpS : default ) => default |
eq | (value : DecimalSource , other : DecimalSource ) => boolean |
eq_tolerance | (value : DecimalSource , other : DecimalSource , tolerance? : number ) => boolean |
equals | (value : DecimalSource , other : DecimalSource ) => boolean |
equals_tolerance | (value : DecimalSource , other : DecimalSource , tolerance? : number ) => boolean |
exp | (value : DecimalSource ) => default |
factorial | (value : DecimalSource , _other? : undefined ) => default |
floor | (value : DecimalSource ) => default |
fromComponents | (sign : number , layer : number , mag : number ) => default |
fromComponents_noNormalize | (sign : number , layer : number , mag : number ) => default |
fromDecimal | (value : default ) => default |
fromMantissaExponent | (mantissa : number , exponent : number ) => default |
fromMantissaExponent_noNormalize | (mantissa : number , exponent : number ) => default |
fromNumber | (value : number ) => default |
fromString | (value : string ) => default |
fromValue | (value : DecimalSource ) => default |
fromValue_noAlloc | (value : DecimalSource ) => Readonly <default > |
gamma | (value : DecimalSource , _other? : undefined ) => default |
gt | (value : DecimalSource , other : DecimalSource ) => boolean |
gt_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => boolean |
gte | (value : DecimalSource , other : DecimalSource ) => boolean |
gte_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => boolean |
isFinite | (value : DecimalSource ) => boolean |
isNaN | (value : DecimalSource ) => boolean |
iteratedexp | (value : DecimalSource , height : number , payload : default ) => default |
iteratedlog | (value : DecimalSource , base : DecimalSource , times : number ) => default |
lambertw | (value : DecimalSource ) => default |
layeradd | (value : DecimalSource , diff : number , base : DecimalSource ) => default |
layeradd10 | (value : DecimalSource , diff : DecimalSource ) => default |
ln | (value : DecimalSource ) => default |
lngamma | (value : DecimalSource , _other? : undefined ) => default |
log | (value : DecimalSource , base : DecimalSource ) => default |
log10 | (value : DecimalSource ) => default |
log2 | (value : DecimalSource ) => default |
logarithm | (value : DecimalSource , base : DecimalSource ) => default |
lt | (value : DecimalSource , other : DecimalSource ) => boolean |
lt_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => boolean |
lte | (value : DecimalSource , other : DecimalSource ) => boolean |
lte_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => boolean |
max | (value : DecimalSource , other : DecimalSource ) => default |
maxabs | (value : DecimalSource , other : DecimalSource ) => default |
min | (value : DecimalSource , other : DecimalSource ) => default |
minabs | (value : DecimalSource , other : DecimalSource ) => default |
minus | (value : DecimalSource , other : DecimalSource ) => default |
mul | (value : DecimalSource , other : DecimalSource ) => default |
multiply | (value : DecimalSource , other : DecimalSource ) => default |
neg | (value : DecimalSource ) => default |
negate | (value : DecimalSource ) => default |
negated | (value : DecimalSource ) => default |
neq | (value : DecimalSource , other : DecimalSource ) => boolean |
neq_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => boolean |
notEquals | (value : DecimalSource , other : DecimalSource ) => boolean |
notEquals_tolerance | (value : DecimalSource , other : DecimalSource , tolerance : number ) => boolean |
pLog10 | (value : DecimalSource ) => default |
pentate | (value : DecimalSource , height : number , payload : DecimalSource ) => default |
plus | (value : DecimalSource , other : DecimalSource ) => default |
pow | (value : DecimalSource , other : DecimalSource ) => default |
pow10 | (value : DecimalSource ) => default |
pow_base | (value : DecimalSource , other : DecimalSource ) => default |
randomDecimalForTesting | (maxLayers : number ) => default |
recip | (value : DecimalSource ) => default |
reciprocal | (value : DecimalSource ) => default |
reciprocate | (value : DecimalSource ) => default |
root | (value : DecimalSource , other : DecimalSource ) => default |
round | (value : DecimalSource ) => default |
sgn | (value : DecimalSource ) => number |
sign | (value : DecimalSource ) => number |
sin | (value : DecimalSource ) => default |
sinh | (value : DecimalSource ) => default |
slog | (value : DecimalSource , base : number ) => default |
slog_critical | (base : number , height : number ) => number |
sqr | (value : DecimalSource ) => default |
sqrt | (value : DecimalSource ) => default |
ssqrt | (value : DecimalSource ) => default |
sub | (value : DecimalSource , other : DecimalSource ) => default |
subtract | (value : DecimalSource , other : DecimalSource ) => default |
sumArithmeticSeries | (numItems : DecimalSource , priceStart : DecimalSource , priceAdd : DecimalSource , currentOwned : DecimalSource ) => default |
sumArithmeticSeries_core | (numItems : default , priceStart : default , priceAdd : default , currentOwned : default ) => default |
sumGeometricSeries | (numItems : DecimalSource , priceStart : DecimalSource , priceRatio : DecimalSource , currentOwned : DecimalSource ) => default |
sumGeometricSeries_core | (numItems : DecimalSource , priceStart : default , priceRatio : default , currentOwned : DecimalSource ) => default |
tan | (value : DecimalSource ) => default |
tanh | (value : DecimalSource ) => default |
tetrate | (value : DecimalSource , height : number , payload : DecimalSource ) => default |
tetrate_critical | (base : number , height : number ) => number |
times | (value : DecimalSource , other : DecimalSource ) => default |
trunc | (value : DecimalSource ) => default |
Defined in
profectus/src/lib/break_eternity.ts:346
Type Aliases
CompareResult
Ƭ CompareResult: -1
| 0
| 1
Defined in
profectus/src/lib/break_eternity.ts:5
DecimalSource
Ƭ DecimalSource: default
| number
| string