C – Double Floating Point

Home/C - Tutorial/C - Datatypes/C – Double Floating Point
C – Double Floating Point 2017-06-12T08:48:40+00:00

Double Floating Point

Double-precision floating point numbers are also numbers with a decimal point. We know that the float type can take large floating point numbers with a small degree of precision but the double-precision double type can hold even larger numbers with a higher degree of precision.

The sizes of the double types are as follows.

Type                 Bytes     Minimal range

doubleprecision  8          IE-38 to IE+38 with 10 digit of precision

long double          8          IE-38 to IE+38 with 10 digit of precision

Example :


Output :

Value of a = 3.140000e+10

Prev Next