On Nov 9, 2010, at 8:21 AM, Shant Ch wrote:
Hi,
I want to use a more accurate value of exp(1). The value given by R
is
2.718282.
Well, not really. That is what is printed at the console with the
default settings for digits. The internal representation is wider:
> format(exp(1), digits=15)
[1] "2.71828182845905"
I want a value which has more than 15 decimal places. Can anyone let
me know how can I increase the accuracy level.
You already have it.
Actually there are some large multipliers of exp(1) in my whole
expression, and
I want a more accurate result at the last step of my program, and
for that I
need to use highly accurate value of exp(1).
Can anyone help me out? Thanks.
Shant
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.