+ 1

difference between float and double.

datas like 1.50 will fall under which category, is it a float or a double given my system is 64-bit register ie. it is a double precision system

5th Nov 2017, 7:59 AM
shubham kj
shubham kj - avatar
3 odpowiedzi
0
then why do we go for float if double is more precise?
5th Nov 2017, 9:20 AM
shubham kj
shubham kj - avatar
0
double = 8 bytes float = 4 bytes of memory in large programs it can make a difference
5th Nov 2017, 9:48 AM
imouse
imouse - avatar