Difference Type of Floating-Point Numbers
float
4 bytes log, 6 significant digits.
double
8 bytes long, 15 significant digits.
long double
Same as double on many machines.
Previous slide
Next slide
Back to first slide
View graphic version