- Added
linear_sroot
, straight lifted from break_eternity.js. - Added non-principal branch to
lambertw
, straight lifted from break_eternity.js. - Added comparisons with tolerance:
eq_tolerance
etc. - Fixed nonfunctioning
iteratedexp
/iteratedlog
. - Fixed inaccurage
gamma
. - Fixed a crash parsing a string with a big operation (#39).
- Fixed
lambertw
failing to converge on certain values (ExpantaNum.js#25).
- Added support for conversion from BigInt (#37).
- Fixed long number converted to
Infinity
when converting from a string (#37). - Fixed
toStringWithDecimalPlaces
throwingRangeError
on small values (ExpantaNum.js#22). - Renamed "standardize" to "normalize" and deprecated the old name.
- Deprecated "debug" option.
- Fixed
a{n}b
when10{n}10{n}MSI<a<=10{n+1}MSI
andMSI<=b<10{n}10{n}a
(ExpantaNum.js#20). - Compacted factorials LUT, reducing un-minified file size.
- Fixed arithmetic above MSI being imprecise.
- Fixed decimal array element.
- Added
0
times and1
time logs case foriteratedLog
.
- Fixed
a{n}b
for10{n}MSI<a<=10{n+1}MSI
andb<MSI
.
- Fixed
tetr
and up returning non-NaN
for special cases involvingNaN
.
- Very small optimizations.
- Added
iteratedexp
,iteratedlog
,layeradd
, andlayeradd10
. - Added voluntary
payload
argument totetr
.
- Fixed
ExpantaNum.MAX_SAFE_INTEGER.log10()
being irregular form.
- Fixed
toPrecision
wrongfully usingtoExponential
for0
.
- Fixed
toStringWithDecimalPlaces
giving wrong iterations if the strongest operator is above maximum of places andapplyToOpNums
is enabled.
- Added an option to use
toString
method instead of returning JSON object fortoJSON
. - Added
valueOf
,toStringWithDecimalPlaces
,toExponential
,toFixed
, andtoPrecision
.
- Fixed
pent
and higher hyperoperators returningNaN
if the base is between 10{c-1}MAX_SAFE_INTEGER and 10{c}MAX_SAFE_INTEGER, and the second operand is greater than MAX_SAFE_INTEGER. - Allowed inputting
Object
tofromJSON
.
- Added
notEqualTo
notEqual
neq
. - Fixed some constants used within not being
OmegaNum
. - Made built-in constants enumerable.
- Added link to ExpantaNum.js in README.md.
- Added many constants, which can be used outside of the library.
- Replaced many magic numbers used with the said library, calling the constructor less often.
- Fixed very high finite height tetration with base less than e^(1/e) #31.
- Fixed certain decimals and omitting of zeros in
fromString
resulting inMalformed input
error #30.
- Slight optimizations for higher hyperoperators.
- Fixed line 677.
- Fixed
tetr
and other hyperoperators returning incorrect results forother
>9007199254740991
. - Slightly optimized
toNumber
. - Removed
Object.assign
in favor of compatibility.
- Expanded all hyperoperators to real height.
- Fixed
pent
and above sometimes returningNaN
.
- Many optimizations. See diff for what I did.
- Added
gamma
,lambertw
,ssrt
, andslog
(pulled straight from break_eternity.js). - Expanded
fact
to real values. - Expanded
tetr
to real and infinite height.
- Fixed
affordGeometricSeries
,affordArithmeticSeries
,sumGeometricSeries
, andsumArithmeticSeries
putting wrong variables through constructor. - Removed
String.prototype.includes
(ES2015) andArray.prototype.includes
(ES2016) to increase coverage.
- Replaced
toJSON
with whattoObject
used to be,toObject
removed. - Fixed misspell in function
standarlize
, replaced withstandardize
. - Removed from alpha stage, entered development stage.
- Uploaded to
npm
. See here.
- No duplicate codes in the main constructor and
fromSomething
functions. - Added
new
on all constructor call. It is not required to be this way. - Optimized
add
andsub
.
- Fixed
affordGeometricSeries
,affordArithmeticSeries
,sumGeometricSeries
, andsumArithmeticSeries
being broken if fed non-OmegaNum. - Slightly optimized constructor when fed OmegaNum.
- Added
isInfinite
. - Fixed
standarlize
. - Slightly optimised
divide
.
- Fixed
Infinity
being less thanNumber.MAX_SAFE_INTEGER+1
- Fixed
-0
being less than0
- Fixed
fromString
being stupid #29.
- Fixed having
10^
not being counted infromString
. - Made
logarithm
andlogBase
use natural logarithm if it recieved not base. - Fixed logarithm of
Infinity
beingundefined
- Fixed
eq
thinking thatNaN
=0
- Fixed
Infinity
andNaN
being broken in some functions
- (Potentially) fixed memory leak. Now TrueInfinity won't have 0.2 fps DevTools and >50MB heap.
- Added
fromJSON
. - Added
toHyperE
andfromHyperE
. - Fixed multiple signs being not handled correctly in
fromString
- Made code more safer in terms of stability(not regarding speed btw).
- Fixed and redesigned
fromString
's logic #26. - Fixed
fromNumber, fromString, fromArray, fromObject
being a non-static method. - Fixed typo that broke the library #27.
- Added
toObject, toJSON, fromNumber, fromString, fromArray, fromObject
- Allowed creating
OmegaNum
fromArray
to have an additional variable of typenumber
forsign
, which can be placed either way. - Allowed creating
OmegaNum
fromObject
that is notOmegaNum
.
- Added
affordGeometricSeries, affordArithmeticSeries, sumGeometricSeries, sumArithmeticSeries
#19choose
#21 by Reinhardt-C. - Fixed
tetr
andarrow
being broken on large base #17. - Fixed NaN returning NaN if the first argument is
0
#22. - Fixed having something over tetration in string or array causes wrong results because I went stupid in
standarlize()
#23 #25.
- Added factorial
factorial
fact
.
- Added exponential function
exponential
exp
. - Added pentation
pentation
pent
.
- Fixed a bug which incorrectly overriden and
undefined
the static variables, making some methods such asarrows
unusable. - Unmatched tags in README.md fixes.
- #12's
root
andmodulo
fix. OmegaNum(NaN).toString="Infinity"
bug fix.
- Nice. #12