O'Reilly logo
  • You Wang thinks this is interesting:

Programmers sometimes use float to save space when precision is a secondary consideration. The double type is useful for about 15 significant digits; the float type is good for only about 7 digits. We do not use float in this book.


Cover of Computer Science: An Interdisciplinary Approach


float: 7 digits. double: 15 digits.