type/extended_numeric - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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

type1,extended_numeric

true

(1)

type12,extended_numeric

true

(2)

type1.5,extended_numeric

true

(3)

typeName,extended_numeric

false

(4)

typeab,extended_numeric

false

(5)

type,extended_numeric

true

(6)

typeFloatundefined,numeric

false

(7)

typeFloatundefined,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