www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/30/00:37:24

From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Is the FAQ wrong about FAR/NEAR ptr speed
Date: Sun, 27 Jul 1997 05:05:04 GMT
Message-ID: <33dad6b7.4447429@news.nol.net>
References: <33D29BAD DOT 43F3 AT lausd DOT k12 DOT ca DOT us>
NNTP-Posting-Host: ip38-47.nol.net
Lines: 22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>  printf("FPS for FAR PTR = %3.2f\n",
>    (float)7680/((float)((et1-st1)/UCLOCKS_PER_SEC)));
You are printing the exact same thing because you are using the same
variables ((et1-st1) appears in both the first and second printf
statements.

>// NEAR PTR results
>  printf("FPS for NEAR PTR = %3.2f\n",
>    (float)7680/((float)((et1-st1)/UCLOCKS_PER_SEC)));
>
>  getchar();
>
>  return 0;
>
>}
>
>--------------1F6F220D651A--
>


Lonnie McCullough
lonniem AT cs DOT utexas DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019