Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13532

Re: Low precision exponentiation

From Tom Dickens <tomdickens@att.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Low precision exponentiation
Date 2013-02-18 11:00 +0000
Message-ID <kft1jj$cpp$1@smc.vnet.net> (permalink)
References <kfq6mm$4v5$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Use N[(25/10)^125,30] to get the high-precision answer.

= 5.52714787526044456024726519219*10^49


The input has to be specified to at least the desired precision.
Mathematica treats 2.5 as a machine-precision number.

Hope that helps,
Tom






On Sun, 17 Feb 2013 09:08:38 +0000 (UTC), Blaise F Egan
<blaise@blaisefegan.me.uk> wrote:

>I am trying to evaluate 2.5^125 to high precision. 
>
>R gives 5.527147875260445183346e+49 as the answer but Mathematica with N[2.5^125,30] gives 5.52715*10^49 and says that is to machine precision.
>
>I am inexperienced at Mathematica. Am I doing something silly?
>
>Blaise

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Low precision exponentiation Blaise F Egan <blaise@blaisefegan.me.uk> - 2013-02-17 09:08 +0000
  Re: Low precision exponentiation awnl <awnl@gmx-topmail.de> - 2013-02-18 10:59 +0000
  Re: Low precision exponentiation Tom Dickens <tomdickens@att.net> - 2013-02-18 11:00 +0000
  Re: Low precision exponentiation svkeeley@aol.com - 2013-02-18 11:00 +0000
  Re: Low precision exponentiation Helen Read <readhpr@gmail.com> - 2013-02-18 11:00 +0000

csiph-web