From: Craig Burley <burley@gnu.ai.mit.edu>
Subject: Long story short, try this...
Date: Tue, 5 Aug 1997 14:27:51 -0400 (EDT) [thread overview]
Message-ID: <199708051827.OAA17627@churchy.gnu.ai.mit.edu> (raw)
...example from an InfoWorld article, in case you haven't already,
on your Alpha, especially if it is a brand-spanking-new one:
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 think this code will do the trick:
-------- powtest.c:
#include <stdio.h>
#include <math.h>
int main()
{
double a = 1.234567;
double b = 7.654321;
printf ("%5.3f should be 5.017, else call Digital technical support!\n",
pow (a, b));
return 0;
}
-------- end powtest.c
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.ai.mit.edu
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-08-05 18:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-05 18:27 Craig Burley [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-08-06 8:03 Long story short, try this Stefan Schroepfer
1997-08-06 15:36 Craig Burley
1997-08-06 16:41 ` Richard Henderson
1997-08-19 10:43 Craig Burley
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