From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078614710434.tru64-unix-managers.marc@archive.invalid> From: "Eleanor T. Jones" Date: Thu, 17 Jul 1997 17:05:54 +0000 To: tru64-unix-managers Subject: alpha bug ??? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078614710434 Hi, I got on your list so I could ask this question, but now that I am on, I'll stay. The following mail message came today and I would like to know if there is an alpha bug. The company I work for, Power Technologies, sells and supports software that runs on the alpha. How can we tell if one of our customers is having this problem. Should we do the "pow" test??? Eleanor T. Jones Technical Assistant e-mail: et.jones@pti-us.com Power Technologies Inc. phone: (518)395-5164 1482 Erie Blvd. PO Box 1058 fax: (518)346-2777 Schenectady NY 12301-1058 web: http://www.pti-us.com Date: Wed, 02 Jul 1997 15:14:24 -0400 From: "Gregory F. March" Subject: DEC Alpha Bug?!? So there I am, looking at our trading system and noticing that the price of one particular bond was different on two separate machines. Damn, I think. Must be a bug in the latest release of our software. Quick, do a sum on all the libraries. Nope, they are the same. Executable? Nope, the same. Hmm... Step through the code, hey, look at that! The pow() function is returning different results! So, I wrote a stand alone program. Sure enough, the machine with the latest rev motherboard (one that was just replaced by DEC) is producing bad numbers. Time to try 'dxcalc', DEX's X calculator. Yup. different numbers. How about perl? Yup, different numbers. How about 'bc'? Duh, bc doesn't take floating point powers. Hmm... check libm. Nope, they are the same. Bottom line: DEC will be here shortly. Test your alpha. Try 'pow(1.234567, 7.654321)'. If you don't get 5.017something, you have the same problem.