Patashu / break_eternity.js

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

The next step #154

Closed Unexian closed 1 year ago

Unexian commented 1 year ago

Decimal.fromComponents(1,new Decimal("1e5"),100)

jakub791 commented 1 year ago

If this method could take Decimal there would be a possibiliyy of hitting overflow - Decimal's fields are numbers

alemaninc commented 1 year ago

I'm pretty sure he means to add functionality up to 10^^(10^^(2^1024))...

Unexian commented 1 year ago

I'm pretty sure he means to add functionality up to 10^^(10^^(2^1024))...

I mean to be able to use a decimal for layer instead of a number, bringing the max from 10^^1e308 to true infinity.

jakub791 commented 1 year ago

This isn't the goal of this project

1231234md5 commented 1 year ago

46

[patashu has an idea bringing the maximum to 10{1.79e308}10, much MUCH larger than 10^^^500. (assuming Decimal can only nest 500 layers),so your idea is only a waste of space. also you can try omeganum.js, which goes to 10{1000}10.