Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Numerical Evaluation & Precision > Representation of Numbers > InexactNumberQ >
Mathematica > Core Language > Expressions > Expression Structure > Atomic Elements of Expressions > Representation of Numbers > InexactNumberQ >

InexactNumberQ

InexactNumberQ[expr]
returns True if expr is an inexact real or complex number, and returns False otherwise.
InexactNumberQ tests whether an object is explicitly an inexact number:
InexactNumberQ tests whether an object is explicitly an inexact number:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
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:
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:
New in 4
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF