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
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
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
is documented there.
Floating point numbers are typed in with an optional sign (an
arbitrary number of
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
by an optionally signed integer.
The decimal shift is interpreted as a power of ten, i.e.,
the Avogadro number 6.022 1023.
Additionally, the function
float and most calls to functions of
numeric library create floating-point numbers