This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Real Floating Point Numbers


DOM_FLOAT is the type of (arbitrary precision) real floating-point numbers.

Apart from exact symbolic calculations, MuPAD® can also compute numerical approximations with arbitrary precision.

MuPAD uses the values RD_INF and RD_NINF for real positive and negative infinities in floating-point intervals.

MuPAD uses the value RD_NAN to indicate undefined values in floating-point intervals. If you use typeset mode, MuPAD displays this value as in output regions.

Function Calls

Calling a floating-point number as a function returns the number unchanged. The arguments of the call are not evaluated.


Just about any arithmetical operation can be performed with floating-point numbers.


DOM_FLOATs are atomic.


The output format of DOM_FLOAT depends on the setting of Pref::floatFormat and is documented there.

Element Creation

Floating point numbers are typed in with an optional sign (an arbitrary number of + and - signs), an optional integer part (consisting of digits), a decimal point (irrespective of locale settings of the operating system, MuPAD always expects a decimal point), a fractional part (one or more decimal digits) and optionally a decimal shift, written as the letter e followed by an optionally signed integer.

The decimal shift is interpreted as a power of ten, i.e., 6.022e23 is the Avogadro number 6.022 1023.

Additionally, the function float and most calls to functions of the numeric library create floating-point numbers as well.

See Also

MuPAD Domains

MuPAD Functions

Was this topic helpful?