Symbolic Math Toolbox    
digits

Set variable precision accuracy

Syntax

Description

digits specifies the number of significant decimal digits that Maple uses to do variable precision arithmetic (VPA). The default value is 32 digits.

digits(d) sets the current VPA accuracy to d digits.

digits returns the current VPA accuracy.

Examples

If

then

uses 14-digit decimal arithmetic and returns

Whereas

used 15-digit decimal arithmetic and returns

See Also

double, vpa


  diff double