File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add two floating point numbers ?

 
Anto Telvin
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4660
5
Linux Mac OS X VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic