Ask Question
29 October, 20:16

Are there any output differences between floats and doubles?

+3
Answers (1)
  1. 29 October, 22:31
    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?
Find an answer to your question ✅ “Are there any output differences between floats and doubles? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers