is there a utility class to store unlimited floating point number?

D

derek.ldn

'double' data type can only represent 1.79769e+308 by maximum on a 32
bit machine. Is there a utility class somewhere to store unlimited
floating point number?

Thanks,
Derek
 
S

Salt_Peter

'double' data type can only represent 1.79769e+308 by maximum on a 32
bit machine. Is there a utility class somewhere to store unlimited
floating point number?

Thanks,
Derek


Thats incorrect, the range of a double is roughly double that
(negative range).
2.2e–308 to 1.8e308
Do you realize what 1.8e308 is? One trillion is 1.0e12.
 
K

Kai-Uwe Bux

'double' data type can only represent 1.79769e+308 by maximum on a 32
bit machine.

Maybe on your 32 bit machine. The standard remains largely silent about this
issue.

Is there a utility class somewhere to store unlimited floating point
number?

Not in the standard. There are, however, third party libraries. A google
search should help.


Best

Kai-Uwe Bux
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top