// Integers 23 34171 0 -45 -98172 // Real numbers 1.57 -0.871
In programming languages like Java, they have separate data types to handle integers and real numbers.
6 is stored in memory as shown below:
Since we have 64 bits, the largest numbers which can be represented are
±1.7976931348623157 × 10
308. And the smallest number that can be represented are
±5 × 10