This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Evaluate pow(x,n) at compile time


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

Well, the coding is straightforward, but it could take a *long* time in
Maple to construct the test vectors; "long" is at least a day (how long
I let it run on my ultrasparc without results) and it could be weeks or
months as far as I know.

Brad


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]