$MaxMachineNumber¶
Status: Stable
documented, exercised by the test suite and/or worked examples, with no known limitations recorded.
Description¶
$MaxMachineNumber
gives the largest machine-precision number that can be used on this computer system.
Notes
Equals the platform's DBL\_MAX.Examples (5)¶
Every input below was run against the current Mathilda build and its output recorded.
Basic examples (4)¶
In[1]:= $MachinePrecision
Out[1]= 15.9546
In[2]:= $MachineEpsilon
Out[2]= 2.22045e-16
In[3]:= {$MinMachineNumber, $MaxMachineNumber}
Out[3]= {2.22507e-308, 1.79769e+308}
MPFR, not machine
Applications (1)¶
The largest finite IEEE 754 double, DBL_MAX
Implementation notes¶
A Protected OwnValue set in system_constants_init (src/core.c) to expr_new_real(DBL_MAX), the largest finite IEEE 754 double.
Attributes: Protected.
References¶
See also: $MachinePrecision, $MachineEpsilon, $MinMachineNumber, $MaxNumber, $MinNumber
- Source:
src/core.c - Specification:
docs/spec/builtins/expression-information.md
Notes & additional examples¶
Notes¶
$MaxMachineNumber is a read-only Protected OwnValue equal to <float.h> DBL_MAX, the
largest finite machine double (≈ 1.79769×10³⁰⁸). A machine-precision computation that
would exceed it overflows; the arbitrary-precision ceiling $MaxNumber is larger.
The value is a fixed machine constant on every IEEE 754 platform.