MathGroup Archive 2002

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

Search the Archive

Re: Precision and Rounding

  • To: mathgroup at
  • Subject: [mg33258] Re: Precision and Rounding
  • From: Jens-Peer Kuska <kuska at>
  • Date: Tue, 12 Mar 2002 05:08:48 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <a6e551$12m$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


a) you can't cut down the precision, because your floating point
   hardware is used for  the computation and a floating point register
   has a fixed length of 4 or 8 byte. Mathematica support only double 8
   values and even if you need less bytes the value will be padded with
   zeros when it is transfered into the register.
b) you mean a profiler. When I remember right, there was a article in 
   "The Mathematica Journal" about a Mathematica profiler. But the code
of it
   was never published and I don't think that it is available ...


bradamanteus at wrote:
> There must be a simple answer to this:
> I'm producing a large output file that takes a long time to compute, and I
> think this is partly because Mathematica always has my output as 14 decimal
> places, and I don't need such accuracy. Is there a way to reduce calculation
> time by reducing the precision of all calculations in my model. Rounding
> with N doesn't work.
> Also, I'm told that I can reduce the time of my program by looking at a
> debugging tool that tells me how long the program spends on certain parts of
> my code. What is this?
> thanks
> Leanne Ussher

  • Prev by Date: Re: question about Macintosh computers with dual CPU chips
  • Next by Date: RE: how to rotate text in 2-D graphics?
  • Previous by thread: Re: Precision and rounding
  • Next by thread: question about Macintosh computers with dual CPU chips