+1 vote
in Class 12 by kratos

The data type double is another floating-point type. Then why is it treated as a distinct data type?

1 Answer

+1 vote
by kratos
 
Best answer

The data type double is treated as a distinct data type because it occupies twice as much memory as type float, and stores floating-point numbers with much larger range and precision. It stands for double precision floating-point. It is used when type float is too small or insufficiently precise.

...