A double variable doesn't hold every single digit of 1.5e124. It holds a fixed "mantissa" which is ~16 digits, and an integer exponent.