MathGroup Archive 2013

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

Search the Archive

Re: Low precision exponentiation

  • To: mathgroup at
  • Subject: [mg129845] Re: Low precision exponentiation
  • From: svkeeley at
  • Date: Mon, 18 Feb 2013 06:02:23 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <kfq6mm$4v5$>

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