4 bytes, 8 bytes or 16 bytes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

4 bytes, 8 bytes or 16 bytes

What is the difference between having 4 bytes or having 8 bytes or having 16 bytes? And what does it help you with? For example: float a = 5.32 double a = 5.32 long double = 5.32

3rd Sep 2016, 4:44 PM
Mcsky23
Mcsky23 - avatar
1 Answer
0
This types differ in accuracy The numerical value of a finite number is   (−1)s × c × b^q where b is the base (2 or 10) https://en.wikipedia.org/wiki/IEEE_floating_point
6th Sep 2016, 7:44 AM
Евгений Лобай
Евгений Лобай - avatar