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

what is the longest word in the world
How long before you get sedated do you stop eating and drinking before an mri?
Select the compound in which chlorine is assigned the oxidation number +5. HClO4 HClO2 HCl NaClO3 HClO
Describe how dna is replicated using the terms dna helicase dna polymerase hydrogen bonds
i need help please!!!!
Which was NOT a factor in the decline of the Roman Empire? A. Julius Cesar's defeat by Carthage in the Third Punic War cost Rome most of its overseas possession
i need help please!!!!
What is the empirical formula of a substance that contains 0.100 mol of carbon, 0.200 mol of hydrogen, and 9.99×10−2 mol of oxygen?
Gastrin secretin and cholecystokinin are examples of
A type of connective tissue fluid that moves throughout the circulatory system