Skip to content

MachinePrecision ​

The precision of a machine number, 53log⁡102≈15.9553 \log_{10} 2 \approx 15.95 decimal digits.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageMachinePrecision✓
MachinePrecisionthe constant Precision returns for a double.
Typed signatures
TypePackageApplies
untypedcombinatoricsalways

Domain: Collections

Details
  • Held as a symbol until N: Precision(1.5) is MachinePrecision, and N(MachinePrecision) is its value in digits.

Examples

Basic #

A double has machine precision

live ↗
InPrecision(1.5)\mathrm{Precision}(1.5)OutMachinePrecision\mathrm{MachinePrecision}

Its value, 53log⁡10253 \log_{10} 2

live ↗
InN(MachinePrecision)N(\mathrm{MachinePrecision})Out15.954 589 770 191 00315.954\,589\,770\,191\,003
About
Examples2
Checked againstWolfram Language 2 agree
CrosswalkWolfram Language

See also: Precision, IsMachineNumber