* major bug in VAX C ??? (or is it me)
@ 1990-06-21 21:06 "John E. Davis"
1990-06-21 22:08 ` Stephen Tihor
0 siblings, 1 reply; 2+ messages in thread
From: "John E. Davis" @ 1990-06-21 21:06 UTC (permalink / raw)
Hi,
When I compile, link, and run (with no errors) the following program on a
VAX 8650 running VMS 5.2 :
#include <math.h>
#include <stdio.h>
main()
{
double x;
x=exp(1.0);
printf("e = exp(x) is %lf\n",x);
}
I get the resulting output:
e = exp(x) is 5025578.386454
However, on a sun4 I get the expected result.
What is wrong? It must be my fault because this is a MAJOR problem.
Thanks,
--
--John
bitnet: davis@ohstpy
internet: davis@pacific.mps.ohio-state.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1990-06-21 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1990-06-21 21:06 major bug in VAX C ??? (or is it me) "John E. Davis"
1990-06-21 22:08 ` Stephen Tihor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox