C – Double Floating Point

Home/Learn C Programming/C - Datatypes/C – Double Floating Point
C – Double Floating Point 2017-08-05T14:18:24+00:00

Double-Precision Floating Point  :

Double 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.

DOUBLE FLOATING POINT SIZE :

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

C – DOUBLE FLOATING EXAMPLE PROGRAM :

Output :

Value of a = 3.140000e+10

Prev Next