Cfloatdouble doublefloatfloat 3.1415926535 float6double15 ...
En double se pueden almacenar nmeros ms grandes y tambin ms decimales. Con los nmeros que has probado no se ve diferencia porque cout << redondea la representacin interna para mostrar pocos decimales, y lo que ves en ambos casos es lo mismo, pero internamente no son iguales.

Possible Duplicate: long double vs double I am unable to understand the difference between between long double and double in C and C++. Can anyone help?

Moving forward, it's essential to keep these visual contexts in mind when discussing Double Mattress Dog Crate For Large Breed Dogs.
float e double so mais rpidos, eficientes e econmicos do que os BigDecimal s do Java; no posso afirmar muito sobre o Decimal do C#, mas creio que para multiplicao seja muito mais leve. Normalmente, nos processadores mais modernos, existe um ncleo de processamento de aritmtica de ponto flutuante.

As we can see from the illustration, Double Mattress Dog Crate For Large Breed Dogs has many fascinating aspects to explore.
The long double function prototypes are identical to the prototypes for their double counterparts, except that the longdouble data type replaces the double data type. The long double versions of these functions should not be used in new code.
20 Format %lf is a perfectly correct printf format for double, exactly as you used it. There's nothing wrong with your code. Format %lf in printf was not supported in old (pre-C99) versions of C language, which created superficial "inconsistency" between format specifiers for double in printf and scanf.