type/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


Home : Support : Online Help : type/extended_numeric

type/extended_numeric

check for an object of type extended_numeric

 

Calling Sequence

Parameters

Description

Subtypes

Supertypes

Examples

Calling Sequence

type(x, extended_numeric)

Parameters

x

-

any expression

Description

• 

The type(x, extended_numeric) function returns true if x is of type numeric or real_infinity or is one of undefined, Float(undefined), or HFloat(undefined).

  

Note:  infinity and undefined are of type extended_numeric but not of type numeric.

Subtypes

• 

type/extended_rational, type/float, type/numeric, type/real_infinity

Supertypes

• 

type/algebraic, type/atomic

Examples

> 

type⁡1,extended_numeric

true

(1)
> 

type⁡12,extended_numeric

true

(2)
> 

type⁡1.5,extended_numeric

true

(3)
> 

type⁡Name,extended_numeric

false

(4)
> 

type⁡ab,extended_numeric

false

(5)
> 

type⁡∞,extended_numeric

true

(6)
> 

type⁡Float⁡undefined,numeric

false

(7)
> 

type⁡Float⁡undefined,extended_numeric

true

(8)

See Also

infinity

type

type/extended_rational

type/finite

type/float

type/fraction

type/infinity

type/integer

type/numeric

type/rational

type/realcons

type/undefined

undefined