This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Evaluate pow(x,n) at compile time
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Brad Lucier <lucier at math dot purdue dot edu>
- Cc: geoffk at geoffk dot org, gcc-patches at gcc dot gnu dot org, roger at www dot eyesopen dot com
- Date: Thu, 10 Apr 2003 23:20:00 +0100 (BST)
- Subject: Re: [PATCH] Evaluate pow(x,n) at compile time
- References: <200304101946.h3AJkUi0006245@banach.math.purdue.edu>
On Thu, 10 Apr 2003, Brad Lucier wrote:
> So, practically speaking, it may be off by more than 1/2 bit for FP formats
> that use two IEEE doubles (106 bit mantissa) or for other 128-bit formats.
It should be straighforward to construct examples for such formats that do
need about 2k bits and hopefully show the problem with GCC's
implementation.
--
Joseph S. Myers
jsm28 at cam dot ac dot uk