Different between float and Double
Answers
Answered by
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
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
Math,
2 months ago
Computer Science,
2 months ago
English,
2 months ago
Social Sciences,
11 months ago
Geography,
11 months ago