MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

On default numerical precision

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90665] On default numerical precision
  • From: sergio_r at mail.com
  • Date: Fri, 18 Jul 2008 04:02:39 -0400 (EDT)

Hello all,

I am wonderin on how to change the mathematica default printing
precision, so I don't have to type on any defined constant the
required  precision, like " `30 "  in:

In[1]:= a=2.3`30; b=2.1`30;

In[2]:= a*b

Out[2]= 4.83000000000000000000000000000

I would like  to be able to do:

a=2.3; b=2.1; and obtain
a*b = 4.83000000000000000000000000000

Regards,

Sergio
PS. Apparently the internal variable $Pre could be set to do that, but
the respective help page [  http://reference.wolfram.com/mathematica/ref/$Pre.html
   ] is not clear about how to do that.


  • Prev by Date: suppressing background color when printing
  • Next by Date: Corrupt graphics output
  • Previous by thread: Re: suppressing background color when printing
  • Next by thread: Re: On default numerical precision