10
Answers

issues in float division a/b

George George

George George

16y
4.4k
1

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)
Next Recommended Forum