Computer Science, asked by tb814798, 5 months ago

Different between float and Double​

Answers

Answered by mamtashukla97
2

Answer:

Though Float and Double both of them are used for assigning real (or decimal) values in programming there is a major difference between these two data types. ... According to IEEE, it has a 64-bit floating point precision. Float takes 4 bytes for storage. Double takes 8 bytes for storage.

Explanation:

i hope this will help you...xD✌

Answered by radha321yadav
2

Explanation:

While float has 32 bit precision for floating number (8 bits for the exponent, and 23* for the value), i.e. float has 7 decimal digits of precision. As double has more precision as compare to that of flot then it is much obvious that it occupies twice memory as occupies by the float data type.

Similar questions