Mathematica 9 is now available

SetAccuracy$MaxPrecision

SetPrecision

FilledSmallSquareSetPrecision[expr, n] yields a version of expr in which all numbers have been set to have a precision of n digits.

FilledSmallSquare When SetPrecision is used to increase the precision of a number, the number is padded with zeros. The zeros are taken to be in base 2. In base 10, the additional digits are usually not zero.

FilledSmallSquareSetPrecision returns an arbitrary-precision number, even if the precision requested is less than $MachinePrecision.

FilledSmallSquare When expr contains machine-precision numbers, SetPrecision[expr, n] can give results which differ from one computer system to another.

FilledSmallSquareSetPrecision will first expose any hidden extra digits in the internal binary representation of a number, and only after these are exhausted add trailing zeros.

FilledSmallSquare0.004`25 generates a number with all trailing digits zero and precision 25 on any computer system.

FilledSmallSquareSetPrecision[expr, n] does not modify expr itself.

FilledSmallSquare See The Mathematica Book: Section 3.1.5.

FilledSmallSquare See also: N, Precision, Chop, SetAccuracy, $MinPrecision, $NumberMarks.

Further Examples

SetAccuracy$MaxPrecision



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.