extended_numeric - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/numeric

check for an object of type numeric

 

Calling Sequence

Parameters

Description

Subtypes

Supertypes

Examples

Calling Sequence

type(x, numeric)

Parameters

x

-

any expression

Description

• 

The type(x, numeric) function returns true if x is an integer, fraction, or finite floating-point number.

Subtypes

• 

type/rational

Supertypes

• 

type/extended_numeric, type/finite, type/literal

Examples

> 

type⁡1,numeric

true

(1)
> 

type⁡12,numeric

true

(2)
> 

type⁡1.5,numeric

true

(3)
> 

type⁡Name,numeric

false

(4)
> 

type⁡ab,numeric

false

(5)
> 

type⁡∞,numeric

false

(6)
> 

type⁡∞,extended_numeric

true

(7)
> 

type⁡Float⁡undefined,numeric

false

(8)
> 

type⁡Float⁡undefined,extended_numeric

true

(9)

See Also

infinity

type

type/extended_numeric

type/finite

type/float

type/fraction

type/infinity

type/integer

type/rational

type/realcons

type/undefined

undefined