Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Re: how to avoid numeric error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20520] Re: [mg20397] Re: [mg20309] how to avoid numeric error
  • From: BobHanlon at aol.com
  • Date: Wed, 27 Oct 1999 02:05:11 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Atul,

Without knowing how they implement Power for integer and non-integer powers, 
I would guess that the answer is related to

(-5.2)^1208. == Exp[1208. * Log[-5.2]]

True

(-5.2)^1208 == (Times @@ Table[-5.2, {1208}])

True


Bob Hanlon

In a message dated 10/26/1999 8:23:17 AM, atulksharma at yahoo.com writes:

>Thanks for the comment and function. I still am not clear on why the
>floating point x1 doesn't force machine precision, regardless of whether
>the
>exponent is a float or integer, since I had thought that even one floating
>point parameter results in the entire expression being evaluated
>numerically.
>


  • Prev by Date: Re: Basic Laplace Transforms
  • Next by Date: RE: StylePrint problem
  • Previous by thread: Re: how to avoid numeric error
  • Next by thread: TeX -> Mathematica