type/realcons
check for a real constant
Calling Sequence
Parameters
Description
Subtypes
Supertypes
Examples
type(x, realcons)
x
-
any expression
The call type(x, realcons) checks if x is a real constant. A real constant is infinity, -infinity, or an expression for which evalf returns a floating-point number.
type/numeric, type/real_infinity
type/algebraic
See Also
evalf
type
type/complexcons
type/constant
type/infinity
type/numeric
Download Help Document