Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Numerical Computation / Numerical Precision /

N

FilledSmallSquare N[expr] gives the numerical value of expr.

FilledSmallSquare N[expr, n] attempts to give a result with n-digit precision.

FilledSmallSquare Unless numbers in expr are exact, or of sufficiently high precision, N[expr, n] may not be able to give results with n-digit precision.

FilledSmallSquare N[expr, n] may internally do computations to more than n digits of precision.

FilledSmallSquare $MaxExtraPrecision specifies the maximum number of extra digits of precision that will ever be used internally.

FilledSmallSquare The precision n is given in decimal digits; it need not be an integer.

FilledSmallSquare n must lie between $MinPrecision and $MaxPrecision. $MaxPrecision can be set to Infinity.

FilledSmallSquare n can be smaller than $MachinePrecision.

FilledSmallSquare N[expr] gives a machine-precision number, so long as its magnitude is between $MinMachineNumber and $MaxMachineNumber.

FilledSmallSquare N[expr] is equivalent to N[expr, MachinePrecision].

FilledSmallSquare N[0] gives the number 0. with machine precision.

FilledSmallSquare N converts all non-zero numbers to Real or Complex form.

FilledSmallSquare N converts each successive argument of any function it encounters to numerical form, unless the head of the function has an attribute such as NHoldAll.

FilledSmallSquare You can define numerical values of functions using N[f[args]] := value and N[f[args], n] := value.

FilledSmallSquare N[expr, p, a] attempts to generate a result with precision at most p and accuracy at most a.

FilledSmallSquare N[expr, Infinity, a] attempts to generate a result with accuracy a.

FilledSmallSquare N[expr, Infinity, 1] attempts to find a numerical approximation to the integer part of expr.

FilledSmallSquare See Section 1.1.2, Section 1.1.4, Section 3.1.4 and Section 3.1.5.

FilledSmallSquare Implementation Notes: see Section A.9.4.

FilledSmallSquare See also: Chop, CompiledFunction, Rationalize, MachinePrecision, NHoldAll, RealDigits.

FilledSmallSquare New in Version 1; modified in 5.0.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: