IsMachineNumber
Whether expr is an ordinary (not extended-precision) inexact number.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
MachineNumberQ✓IsMachineNumber(expr) for an inexact number carrying at most 17 significant decimal digits, otherwise (including every exact number).Typed signatures
| Type | Package | Applies |
|---|---|---|
(any) -> boolean | combinatorics | always |
Details
- Wolfram spells this
MachineNumberQ; renamed to theIs…convention used across compute-engine predicates. - Compute engine keeps no separate "machine" number representation — every inexact value is a decimal carrying as many digits as it was given — so this is approximated by digit count: a literal of up to 17 digits, as Wolfram reads it, is a machine number.
Examples
Possible issues #
About
| Examples | 8 |
|---|---|
| Checked against | Wolfram Language 8 agree |
| Crosswalk | Wolfram Language |