InexactNumberQ

InexactNumberQ[expr]

returns True if expr is an inexact real or complex number, and returns False otherwise.

Details

Examples

open allclose all

Basic Examples  (1)

InexactNumberQ tests whether an object is explicitly an inexact number:

Scope  (2)

An approximate zero is inexact:

Either real or imaginary parts of a complex number can be inexact:

If both real and imaginary parts are exact, then the number is not inexact:

Properties & Relations  (4)

Numbers are considered either exact or approximate (inexact):

Inexact numbers have Precision less than :

Inexact numbers have head Real or Complex:

A function equivalent to InexactNumberQ:

Introduced in 1999
 (4.0)