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