[net.micro.mac] Float question in MegamaxC

hako@ur-univax.UUCP (05/17/85)

Hi,

I have a question about the MegamaxC compiler. I have a little
program (listed below) just to run 5000 multiplies for timing.
It took 10sec! whereas a friend of mine with the Absoft Fortran
does 5000 multiplies in 1sec. What am I doing wrong?

#define COUNT 5000
#include "fmath.h" /* probably not neccessary */
main()
{
  double a=3.14159, b = 2.78474, c;
  register int i;

  for (i=0; i<COUNT; i++)
	c = a*b;
	}