[R] R- exp(-1000) ? - how to get R to give me an actual answer ?

Simon Blomberg blomsp at ozemail.com.au
Wed Oct 26 08:00:34 CEST 2005


At 03:42 PM 26/10/2005, you wrote:

>We can double check this with yacas which is a free
>computer algebra system that supports arbitrary
>precision math:
>
>    In> N(Exp(-1000))
>    Out> 0.5075958898e-434

Or in Axiom, which is open source too:

numeric exp(-1000)

  0.50759588975494567653E-434 Type: Float




>On 10/26/05, rramacha <rramacha at utk.edu> wrote:
> > Dear All,
> >
> > I am a novice user of the R software package. When I try and compute,
> > exp(-1000) or exp(-2000), i get the answer as zero. Is there any way i 
> can get
> > R to compute the answer and give me an actual number ? ( by increasing the
> > precision or any other method).
> >
> > If I cannot get R to give me a number, can anybody give me some advice 
> on how
> > to manually compute this number ?
> >
> > I would greatly appreciate your help on this issue.
> >
> > Thanks
> > Ravi
> >
> > Ravichandran "Ravi" Ramachandran
> >
> > Graduate Teaching Assistant
> > Department of Statistics
> > The University of Tennessee,Knoxville
> > USA
> > E-mail  : ravi at utk.edu
> > Phone   : Official  - 865 - 974 - 2739 (Aconda Court)
> >          Residence - 865 - 946 - 5155
> > Webpage : http://web.utk.edu/~rramacha
> >
> >
> > " Space maybe the final frontier
> >  But its made in a Hollywood basement
> >                   - The Red Hot Chilli Peppers - 'Californication'
> >
> >  Space maybe the final frontier
> >  But it can be 'replicated' in a Hollywood basement
> >                   - Me, after taking the Stat 573 class
> > "
> >
> >
> > "Thank God every day when you get up that you have something to do that 
> day which must be done whether you like it or not. Being forced to work 
> and forced to do your best will breed in you temperance and self-control, 
> diligence and strength of will"
> >                                                - Basil Carpenter
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> >
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list