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.
>