okokbrit2096 okokbrit2096
  • 14-09-2019
  • Computers and Technology
contestada

Are there any output differences between floats and doubles?

Respuesta :

ExieFansler ExieFansler
  • 17-09-2019

Explanation:

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.

Answer Link

Otras preguntas

Explain the role of energy in changes of state.
What is the difference between evidence and inference?
In the late 20th century , the green revolution had the greatest impact on
What do all viruses need to reproduce?
Crops produce the greatest amount of waste, mainly from plant parts not harvested as food. Why are most people less concerned about crop waste than other types
Can some one help me with this Please help
2014 numbers are placed along the circumference of a circle. When any 5 successive numbers are added, the total is always 40. What are these 2014 numbers? Find
What is the position of 7 in the number 876,543?
How does thermal energy heat a house? What devices and systems are involved?
How do you write 7,330,968 in expanded form