Close
Close window
NumericClass - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

NumericClass

return the class of x

Calling Sequence

NumericClass(x)

Parameters

x

-

expression

Description

The NumericClass(x) function returns the class of x represented as a type. The class of x is described by a Maple type that recognizes

- the computation environment, and

- the numerical type of x.

If x is complex, then NumericClass(x) returns as narrowly constrained a type as possible to recognize x. To obtain precise information about the real and imaginary part of x separately, use NumericClass(Re(x)) and NumericClass(Im(x)).

Thread Safety

The NumericClass command is thread-safe as of Maple 15.

For more information on thread safety, see index/threadsafe .

Examples

>

NumericClass0

rationalposzero

(1)
>

NumericClass2.3

sfloatpositivenumeric

(2)
>

NumericClass

extended_rationalpositive

(3)
>

x32I

x32I

(4)
>

NumericClassx

nonrealposintnegint

(5)
>

NumericClassx

posint

(6)
>

NumericClassx

negint

(7)
>

NumericClass2I

imaginaryposint

(8)
>

NumericClassHFloat4.5

float8negativenumeric

(9)
>

NumericClassHFloat3+5I

nonrealfloat8negativenumericfloat8positivenumeric

(10)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /