This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

$MaxMachineNumber

$MaxMachineNumber
is the largest machine-precision number that can be used on a particular computer system.
  • Numbers larger than $MaxMachineNumber are always represented in arbitrary-precision form.
  • $MaxMachineNumber is typically , where n is the maximum exponent that can be used in the internal representation of machine-precision numbers.
The largest hardware floating point number:
The largest hardware floating point number:
In[1]:=
Click for copyable input
Out[1]=
Numbers larger than $MaxMachineNumber are represented as arbitrary precision numbers:
Find the maximum machine number algorithmatically:
$MaxMachineNumber has the largest possible binary exponent and all bits set to 1:
New in 2