Plotting with high numbers

Just starting out? Need help? Post your questions and find answers here.
matalog
Enthusiast
Enthusiast
Posts: 165
Joined: Tue Sep 05, 2017 10:07 am

Plotting with high numbers

Post by matalog »

I was planning to plot something like Tuppers 'Self Referential' Formula, it requires handling a number around 10^530, specifically, that is the point above the axis that will be 'viewed'.

Is that going to be possible in Purebasic?

I was attempting to set a double variable to v.d=11200004198382352880400900379940 earlier, and I got an error saying numerical overflow, too many digits.
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Plotting with high numbers

Post by StarBootics »

matalog wrote: Sun May 15, 2022 11:59 pm I was planning to plot something like Tuppers 'Self Referential' Formula, it requires handling a number around 10^530, specifically, that is the point above the axis that will be 'viewed'.

Is that going to be possible in Purebasic?

I was attempting to set a double variable to v.d=11200004198382352880400900379940 earlier, and I got an error saying numerical overflow, too many digits.
Do you need to work with floating point values ? If not you can have a look at VogelsNumberFormat - OOP.pb in the forum it's a library capable to handle very large integers. As large as you have memory in your computer.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
Post Reply