Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: nyu notesfiles V1.1 4/1/84; site ur-univax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!ur-univax!hako From: hako@ur-univax.UUCP Newsgroups: net.micro.mac Subject: Float question in MegamaxC Message-ID: <16500023@ur-univax.UUCP> Date: Fri, 17-May-85 09:28:00 EDT Article-I.D.: ur-univa.16500023 Posted: Fri May 17 09:28:00 1985 Date-Received: Sun, 19-May-85 08:32:18 EDT Organization: University of Rochester: Computing Center Lines: 17 Nf-ID: #N:ur-univax:16500023:000:420 Nf-From: ur-univax!hako May 17 09:28:00 1985 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