[Bluej-discuss] I have reached Infinity

Josh Rountree mage at carolina.rr.com
Wed Nov 22 04:48:43 GMT 2006


This is often an exercise in a Data Structures course, with the idea that
students develop their own class/object to handle the desired precision. 

 

   _____  

From: bluej-discuss-bounces at bluej.org
[mailto:bluej-discuss-bounces at bluej.org] On Behalf Of Bryan Luce
Sent: Tuesday, November 21, 2006 10:08 PM
To: bluej-discuss at bluej.org
Subject: [Bluej-discuss] I have reached Infinity

 

In playing with an simple program that uses exponents in calculation, I
unintentionally found that 1.6E308 is that largest practical value in Java.
Beyond that, Java considers the number to be "infinity".

I want to push my calculations further than this number, but still maintain
accuracy.  Any suggestions?

Bryan

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20061122/89eb3b60/attachment-0001.html


More information about the bluej-discuss mailing list