+ 1
What is the difference between a float and a double float?
1 Answer
+ 2
John Muinde a double-precision float is stored in double the memory size as a single-precision float. For instance, if a float is stored in 32 bits (4 bytes), then a double is stored in 64 bits (8 bytes). That gives a double much greater numeric range or greater precision than a float. The drawbacks are that a double uses twice the memory and may be much slower.