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.

-- 
Joseph S. Myers
jsm28 at cam dot ac dot uk


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