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:

Wolfram Research (1999), InexactNumberQ, Wolfram Language function, https://reference.wolfram.com/language/ref/InexactNumberQ.html.

Text

Wolfram Research (1999), InexactNumberQ, Wolfram Language function, https://reference.wolfram.com/language/ref/InexactNumberQ.html.

CMS

Wolfram Language. 1999. "InexactNumberQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InexactNumberQ.html.

APA

Wolfram Language. (1999). InexactNumberQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InexactNumberQ.html

BibTeX

@misc{reference.wolfram_2024_inexactnumberq, author="Wolfram Research", title="{InexactNumberQ}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/InexactNumberQ.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_inexactnumberq, organization={Wolfram Research}, title={InexactNumberQ}, year={1999}, url={https://reference.wolfram.com/language/ref/InexactNumberQ.html}, note=[Accessed: 21-November-2024 ]}