From: harley@pauillac.inria.fr (Robert Harley)
Subject: pow() bug?
Date: 1997/07/22 [thread overview]
Message-ID: <5r229c$3ff@news-rocq.inria.fr> (raw)
Any truth to the following rumour from
http://www.infoworld.com/cgi-bin/displayNew.pl?/rcringe/rcringe.htm
???
------------------------------------------------------------------------------
Alpha waves
Elsewhere on Wall Street, a trader felt a tickle in his belly when he
noticed that the price of a particular bond was showing up differently
on two different computers, both Digital Alphas. Fearing a bug in the
most recent release of his software, he stepped through the code and
discovered that the pow() function was returning different answers on
the two machines.
Oddly enough, the machine with the newly revved motherboard was
churning out errant numbers. Test your Alpha thusly: Try pow(1.234567,
7.654321). If you don't get 5.017, call Digital tech support.
------------------------------------------------------------------------------
I haven't found any problems with Linux + gcc or Digital Unix +
gcc/cc/cc.alt even with switches for intrinsic pow() on a
beta compiler that some nice people at DEC sent me.
So does anybody know examples where the bug occurs? Is it on NT or what?
-- Rob.
.-. Robert.Harley@inria.fr .-.
/ \ .-. .-. / \
/ \ / \ .-. _ .-. / \ / \
/ \ / \ / \ / \ / \ / \ / \
/ \ / \ / `-' `-' \ / \ / \
\ / `-' `-' \ /
`-' Linux - 500MHz Alpha - 256MB SDRAM `-'
next reply other threads:[~1997-07-22 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-22 4:00 Robert Harley [this message]
1997-07-23 4:00 ` pow() bug? Joseph Huber
1997-07-23 4:00 ` Joshua Cope
1997-07-23 4:00 ` John Hascall
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox