Data type double is another floating point type. Then why is it treated as a distinct data type?
Answers
Answered by
0
C++ (Computer program language)
The advantage of floating point notation is that it allows a greater range of numbers. Double Data Type It is used for handling floating point numbers, but is treated as a distinct data ...
The advantage of floating point notation is that it allows a greater range of numbers. Double Data Type It is used for handling floating point numbers, but is treated as a distinct data ...
Answered by
0
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.
Similar questions