28th Aug 2017, 7:21 AM
mahima chouhan
mahima chouhan - avatar
2 Respostas
+ 8
To store floating-point values at double precision.
28th Aug 2017, 7:28 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
Knowing the difference between single and double precision is so important when it comes to comparing these two fundamental types. In general, a double has 15 decimal digits of precision, while float has 7. See:[https://stackoverflow.com/questions/2386772/difference-between-float-and-double]
28th Aug 2017, 9:33 AM
Babak
Babak - avatar