Default0 - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Numerical Computations : Maple Numerics : Functions : Default0

Default0

return the default value of zero

DefaultOverflow

return the default overflow value

DefaultUnderflow

return the default underflow value

 

Calling Sequence

Parameters

Description

Thread Safety

Examples

Calling Sequence

Default0()

DefaultOverflow(s)

DefaultUnderflow(s)

Parameters

s

-

either 1 or -1

Description

• 

The Default0() function returns +0.0 unless the rounding mode is -infinity, in which case it returns -0.0.

• 

The DefaultOverflow() function returns the system's current default overflow value. The default overflow value is always s * Float(infinity).

• 

The DefaultUnderflow() function returns the system's current default underflow value. The default underflow value is always 0..

• 

The returned values are all software floating-point format. To determine the appropriate hardware floating-point values, enclose the function call in the HFloat constructor.

Thread Safety

• 

The Default0, DefaultOverflow and DefaultUnderflow commands are thread-safe as of Maple 15.

• 

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

Examples

Default0

0.

(1)

DefaultUnderflow1

0.

(2)

DefaultUnderflow1

0.

(3)

DefaultOverflow1

Float∞

(4)

HFloatDefaultUnderflow1

0.

(5)

See Also

exceptions

float

HFloat

numeric_types

rounding

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam