MathGroup Archive 2002

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

Search the Archive

Re: Precision and Rounding

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33258] Re: Precision and Rounding
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 12 Mar 2002 05:08:48 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <a6e551$12m$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

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
byte
   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 ...

Regards
  Jens

bradamanteus at yahoo.com 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