MathGroup Archive 2001

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

Search the Archive

Re: Preserve natural number "e" using N or SetPrecision

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30914] Re: Preserve natural number "e" using N or SetPrecision
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 27 Sep 2001 02:16:31 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9o973r$cfd$1@smc.vnet.net> <9oc76p$fue$1@smc.vnet.net> <9ojung$m0k$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

if I say Block[] I *mean* Block[].
It is correct, that you get an error
when you turn my definition into nonsense.

Regards
  Jens

"Kevin J. McCann" wrote:
> 
> I get a very strange error if I replace Block with Module in the function
> below.
> 
> "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de> wrote in message
> news:9oc76p$fue$1 at smc.vnet.net...
> > Hi,
> >
> > NSaveE[expr_, prec___] := Block[{E = ee},
> >       N[expr, prec]
> >       ] /. ee -> E
> >
> >
> > will do it.
> >
> > Regards
> >   Jens



  • Prev by Date: Re: Q: Solving econometric models
  • Next by Date: Re: Preserve natural number "e" using N or SetPrecision
  • Previous by thread: Re: Preserve natural number "e" using N or SetPrecision
  • Next by thread: Re: Preserve natural number "e" using N or SetPrecision