MathGroup Archive 2013

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

Search the Archive

Re: Low precision exponentiation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129845] Re: Low precision exponentiation
  • From: svkeeley at aol.com
  • Date: Mon, 18 Feb 2013 06:02:23 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <kfq6mm$4v5$1@smc.vnet.net>

Here are two possibilities to get the precision you want:

1. Use exact input:

  In:  N[(5/2)^125, 30]

 Out: 5.52714787526044456024726519219*10^49

2. Use a more precise input:

  In:  2.500000000000000000000000000000^125]

 Out:  5.527147875260444560247265192*10^49

There's probably a more elegant way to do this, but being pretty new at Mathematica myself, those were the only things I could think of.



  • Prev by Date: Does MLGetUTF8String() return a null-terminated string?
  • Next by Date: Re: Stephen Wolfram's recent blog
  • Previous by thread: Re[2]: Low precision exponentiation
  • Next by thread: Re: Low precision exponentiation