www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/01/15:33:18

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems with DJGPP V2.01 - atof() function
Date: Sun, 01 Dec 1996 11:41:02 -0800
Organization: Alcyone Systems
Lines: 16
Message-ID: <32A1DF4E.3670A4D0@alcyone.com>
References: <329e68a5 DOT 10316617 AT news DOT ua DOT pt> <32A03F1D DOT 4967 AT pobox DOT oleane DOT com> <32A10C3E DOT 33B7E15B AT alcyone DOT com>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Erik Max Francis wrote:

>     #define _round(_f) ((int) (_f + 0.5))

Better make that 

    #define _round(_f) ((int) ((_f) + 0.5))

so people can't hurt themselves.

-- 
                             Erik Max Francis | max AT alcyone DOT com
                              Alcyone Systems | http://www.alcyone.com/max/
                         San Jose, California | 37 20 07 N 121 53 38 W
                                 &tSftDotIotE | R^4: the 4th R is respect
         "But since when can wounded eyes see | If we weren't who we were"

- Raw text -


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