Difference Between Float And Double. It takes 4 bytes of memory. Jan 13 2020 In terms of number of precision it can be stated as double has 64 bit precision for floating point number 1 bit for the sign 11 bits for the exponent and 52 bits for the value ie.
Has a precision of 6 decimal places. The following table lists data types their ranges and storage requirements. A value having a range within 12E-38 to 34E38 can be assigned to float variables.
Double has 15 decimal digits of precisionWhile float has 32 bit precision for floating number 8 bits for the exponent and 23 for the value ie.
Float takes 4 bytes for storage. It can have a precision of up to 6 decimal places. It is simple to manage by compilers. It has a single precision.
