type/extended_rational - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : type/extended_rational

type/extended_rational

check for an object of type extended_rational

 

Calling Sequence

Parameters

Description

Subtypes

Supertypes

Examples

Calling Sequence

type(x, extended_rational)

Parameters

x

-

any expression

Description

• 

The type(x, extended_rational) function returns true if x is a rational, infinity, -infinity, or undefined. Equivalently, x is of type extended_rational if it is of type extended_numeric and not of type float.

Subtypes

• 

type/rational

Supertypes

• 

type/extended_numeric

Examples

type1,extended_rational

true

(1)

type12,extended_rational

true

(2)

type0.5,extended_rational

false

(3)

typeName,extended_rational

false

(4)

typeab,extended_rational

false

(5)

type∞,extended_rational

true

(6)

See Also

infinity

type

type/fraction

type/infinity

type/integer

type/numeric

type/rational

type/undefined

undefined