which data type has higher value? float or double?
Answers
Double has higher value.
Answer:
Float
This is generally used for graphic based libraries for making the processing power of your programs faster, as it is simpler to manage by compilers.
Double
This is the most commonly used data type in programming languages for assigning values having a real or decimal based number within, such as 3.14 for pi.
Float
It has single precision.
Double
It has the double precision or you can say two times more precision than float.
Float
According to IEEE, it has a 32-bit floating point precision. According to IEEE, it has a 64-bit floating point precision.
Double
According to IEEE, it has a 64-bit floating point precision.
Float
Float takes 4 bytes for storage.
Double
Double takes 8 bytes for storage.
Float
A value having a range within 1.2E-38 to 3.4E+38 can be assigned to float variables.
Double
A value having range within 2.3E-308 to 1.7E+308 can be assigned to double type variables.
Float
Has a precision of 6 decimal places.
Double
Has a precision of 15 decimal places.
I hope it helps you....
PLEASE MARK as BRAINLIEST Answer.....