|
SOLUTIONS
|
COMPUTER ARITHMETIC 程序包 符号
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.
更多信息更多信息
- To use
, you first need to load the Computer Arithmetic Package using Needs["ComputerArithmetic`"]. - 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:
-
RoundingRule RoundToEven rule used to round numbers ExponentRange {-50,50} range of allowed exponents MixedMode False whether to allow mixed-mode arithmetic IdealDivision False whether to convert
to IdealDivide
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
