Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR 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 /

Further Examples: SetPrecision

Here is a machine-precision approximation to .

In[1]:=

Out[1]=

You can increase the precision to .

In[2]:=

Out[2]=

The additional digits are in base , not in base . Mathematica uses base internally to represent numbers.

In[3]:=

Out[3]//BaseForm=

You can also lower precision to create machine numbers.

In[4]:=

Out[4]=

In[5]:=

Out[5]=

In[6]:=



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


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