Paul Barrett
2001-03-28 14:11:09 UTC
2.**1024 - 1.
which is about 1.8E308. Is there any way to get bigger value than this,
just like long intergers almost have no limits?
Try using a log()-based algorithm, i.e. instead of multiplying two largewhich is about 1.8E308. Is there any way to get bigger value than this,
just like long intergers almost have no limits?
numbers together, take their log() and add them.
This approach has always worked for me, since I've found that precision
is usually less of an issue than range, when dealing with such large
numbers.
--
Dr. Paul Barrett Space Telescope Science Institute
Phone: 410-338-4475 ESS/Science Software Group
FAX: 410-338-4767 Baltimore, MD 21218
Dr. Paul Barrett Space Telescope Science Institute
Phone: 410-338-4475 ESS/Science Software Group
FAX: 410-338-4767 Baltimore, MD 21218