delorie.com/archives/browse.cgi | search |
Message-ID: | <3940A1D1.9C5AE807@home.com> |
From: | Robin Johnson <robbat2 AT home DOT com> |
Organization: | Orbit Computers |
X-Mailer: | Mozilla 4.7 [en] (Win98; U) |
X-Accept-Language: | en,af,es |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Rounding doubles to ints |
References: | <39363d0a$0$8416$7f31c96c AT news01 DOT syd DOT optusnet DOT com DOT au> <39367A02 DOT 7EA47FC5 AT home DOT com> <Mxz%4.15948$k22 DOT 182202 AT flipper> <394042AA DOT 4ED5973 AT home DOT com> <83snuneg14 DOT fsf AT mercury DOT bitbucket> |
Lines: | 16 |
Date: | Fri, 09 Jun 2000 07:50:08 GMT |
NNTP-Posting-Host: | 24.113.36.103 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news1.rdc1.bc.home.com 960537008 24.113.36.103 (Fri, 09 Jun 2000 00:50:08 PDT) |
NNTP-Posting-Date: | Fri, 09 Jun 2000 00:50:08 PDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Nate Eldredge wrote: > Umm, I believe the idea is "add 0.5 and truncate". So 4.0 -> 4.5 -> > 4.0 but 4.6 -> 5.1 -> 5.0. hmm, ok that would work better.. sorry, i was wrong, been too long since i did rounding myself, hehe -- Robin Hugh Johnson "Robbat2" QTOD: "I used to be an idealist, but I got mugged by reality." E-Mail : robbat2 AT orbis-terrarum DOT net ICQ# : 30269588 or 41961639 Home Page : http://www.orbis-terrarum.net Time Zone : Pacific Daylight (GMT - 8)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |