Ask Question
26 June, 10:26

Are there any output differences between floats and doubles?

+5
Answers (1)
  1. 26 June, 10:45
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers