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
122
stars
46
forks
source link
`Decimal.exp(-1000).eq(Decimal.exp(1000))` is true #33
They're both high positive numbers (I think they're both what Decimal.exp(1000)) should be). Decimal.exp(-100).eq(Decimal.exp(100)) is false, which makes me think this only happens over infinity. I think this might be at least partially the cause of #32 .
They're both high positive numbers (I think they're both what
Decimal.exp(1000)
) should be).Decimal.exp(-100).eq(Decimal.exp(100))
is false, which makes me think this only happens over infinity. I think this might be at least partially the cause of #32 .