Phobos unit testing uncovers a CPU bug
Mike James
foo at bar.com
Sun Nov 28 06:08:13 PST 2010
If it happens once its a bug, if its repeatable its a feature ;-)
-=mike=-
"Kagamin" <spam at here.lot> wrote in message
news:icth6h$1nqe$1 at digitalmars.com...
> Don Wrote:
>
>> The Intel CPU gives the correct answer, but AMD's is wrong. They should
>> both give the correct result.
>
> Really? I think, the answer is neither correct nor wrong. It's
> approximate.
> If your friend's program operates on ~0x1p+40 values and critically
> depends on on the value of the last bit, then double precision doesn't
> suit his needs (on both Intel and AMD), he should take a couple of classes
> on computational theory and rewrite his algorithm, or use arithmetic with
> higher precision.
More information about the Digitalmars-d-announce
mailing list