Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

related to the lossdue to precisions.

Thread view: 
Amit Kumar - 15 May 2006 11:56 GMT
Sugest me certain ways through which i can Minimize the losses due to
the precision of floats and double .
Thanx in advance.
Eric Sosman - 15 May 2006 15:38 GMT
Amit Kumar wrote On 05/15/06 06:56,:
> Sugest me certain ways through which i can Minimize the losses due to
> the precision of floats and double .

   There is very little you can do to affect the errors
that creep in at each individual operation.  What you can
do, though, is try to arrange the overall calculation so
that the errors tend to diminish rather than grow after
they're introduced.

   The field of study is called "Numerical Analysis,"
and it is a large field.  You should be able to find some
introductory textbooks that will get you well started.

Signature

Eric.Sosman@sun.com

Patricia Shanahan - 15 May 2006 16:36 GMT
> Amit Kumar wrote On 05/15/06 06:56,:
>
[quoted text clipped - 10 lines]
> and it is a large field.  You should be able to find some
> introductory textbooks that will get you well started.

I agree with Eric's comments.

Also, one way to reduce "the losses due to the precision of floats and
double" is to ignore float.

Patricia


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.