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

Give your answer in correct number of significant figures: (4.0 x 102 ) (0.04) / 7.2
How do u do 15 divided by 91.2
Suppose that v is an eigenvector of matrix A with eigenvalue λA, and it is also an eigenvector of matrix B with eigenvalue λB. (a) Show that v is an eigenvector
X + 8 = –15 I just don’t understand
Solve the equation to find a positive value of c: 6^2 + 8^2 = c^2
what Information can a scientist learn directly from a single fossil? A. How many offspring the organism produced. B.How the organism is related to others. C. T
Cite evidence from the text to explain Achilles's role in Greek mythology
From this mobile device screen, where would an administrator tap to set up a corporate email account for a user, using POP3 and SSL?
If 2500 is to be divided among Ravi, Raju and Roy, so that Ravi gets two parts, Raju has three parts and Roy five parts. How much money will each get? What will
You fly in a helicopter for 20 minutes that goes at a speed of 240 km per hour how far did you go