This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to add two floating point numbers ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 4422
    
    2

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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to add two floating point numbers ?
 
Similar Threads
question error ?
Floating Point Representation
floating point anomaly?
How to Float??
Double arithmetic