George George

George George

  • NA
  • 778
  • 0

issues in float division a/b

Apr 23 2008 12:40 AM

Hello everyone,


If a and b are both float (or double, I think it does not matter?), and I want to calculate a/b. I am wondering whether there will be any issues which make the calculation result in-accurate compared with the calculation result by-hand (on a paper). :-)

For example, if a is too big, or if b is too small? If such issue exists, what is the best practices to calculate a/b?


thanks in advance,
George


Answers (10)