jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes How to add two floating point numbers ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to add two floating point numbers ?" Watch "How to add two floating point numbers ?" New topic
Author

How to add two floating point numbers ?

Anto Telvin
Ranch Hand

Joined: Aug 12, 2008
Posts: 113
hi all
i read this floating point arithmetic addition , subtraction, multiplication, Division .but i am not able to perform that operations effectively .can anyone help me please



thanks


Anto Telvin Mathew<br />Many of the life failures are people who did not realize how close they were to success when they give up. EDISON
Gamini Sirisena
Ranch Hand

Joined: Aug 05, 2008
Posts: 347
this and this should explain the difficulties of floating point arithmetic and there should be a few suggestions and alternatives that might help.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Originally posted by Anto telvin Mathew:
floating point arithmetic addition , subtraction, multiplication, Division .but i am not able to perform that operations effectively

What do you mean 'not able'?

Are you doing science or engineering?
I hope you are not trying to use floating point for money/currancy. That is a sin.
Anto Telvin
Ranch Hand

Joined: Aug 12, 2008
Posts: 113
thanks
 
wood burning stoves
 
subject: How to add two floating point numbers ?
 
Similar Threads
Double arithmetic
question error ?
Floating Point Representation
floating point anomaly?
How to Float??