A Javascript numerical library to represent numbers as large as 10^^1e308 and as small as 10^-10^^1e308. Sequel to break_infinity.js, designed for incremental games.
MIT License
120
stars
43
forks
source link
`new Decimal("(e^x)1")` returns `Decimal` with negative `layer` if `x` is negative #167
For example,
new Decimal("(e^-8.1)1")
returns aDecimal
whoselayer
is -8.1.Similarly,
new Decimal("(e^-22.1)1")
returns aDecimal
whoselayer
is -22.1.Both Decimal objects have invalid
layer
values and may not work properly with operations.