Ask Question
13 August, 23:56

Are there any output differences between floats and doubles?

+4
Answers (1)
  1. 14 August, 03:26
    0
    The precision in double values is twice as compared to float values. Hence double have smaller rounding errors as compared to float variables. A double is of 64 bits and float is of 32 bits usually hence floats have more rounding errors and on more number than doubles. Double has 15 decimal digits of precision and float has only 7 decimal digits for precision.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Are there any output differences between floats and doubles? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers