This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

SetArithmetic

SetArithmetic[d]
sets the number of digits of precision d to be used in ComputerNumber objects.

sets the number of digits of precision d and the base b to be used in ComputerNumber objects.
  • Allowable settings for the precision d are the integers between 1 and 10 inclusive. The default value is 4.
  • Allowable settings for the base b are the integers between 2 and 16 inclusive. The default value is 10.
  • Changing the default settings to be used in ComputerNumber objects and then referring to ComputerNumber objects defined prior to the change can lead to unpredictable results.
  • The following options can be given:
RoundingRuleRoundToEvenrule used to round numbers
ExponentRange{-50,50}range of allowed exponents
MixedModeFalsewhether to allow mixed-mode arithmetic
IdealDivisionFalsewhether to convert '' to IdealDivide