Re: Phobos unit testing uncovers a CPU bug

2010-11-30 Thread Kagamin
Walter Bright Wrote: > How do you decide how many bits should be enough for any algorithm? > > The thing is, the FPU has 53 bits of precision and so ought to be correct to > the > last bit. It's not me, it's the programmer. He was disgusted that his algorithm produced garbage, which means, th

Re: Phobos unit testing uncovers a CPU bug

2010-11-30 Thread Andrew Wiley
On Tue, Nov 30, 2010 at 1:43 PM, Kagamin wrote: > Walter Bright Wrote: > > > How do you decide how many bits should be enough for any algorithm? > > > > The thing is, the FPU has 53 bits of precision and so ought to be correct > to the > > last bit. > > It's not me, it's the programmer. He was di