From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: modf BROKEN ?? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <39871a3d DOT 38832761 AT news DOT freeserve DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 X-Trace: /wLwTaHwJqLxDAxou0YxpZQ6M2uQPHQP7Rbm0WvN4NrZCYVw6eJLrOvYz1n9ZQT/gSTtko+UlsYS!ivpcGzhpBuGIwy0+qLg1YayBeyqNz5klXhNudghVZ4hiuMbBSi+sog8oa2Uov+wnvnUzH/0iLf3C!tek= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 01 Aug 2000 23:21:34 GMT Distribution: world Date: Tue, 01 Aug 2000 23:21:34 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 01 Aug 2000 18:43:13 GMT, dontmailme AT iname DOT com (Steamer) wrote: >In fact, depending on >what you're doing, it may be better not to use floating-point >numbers at all - just use suitably scaled integers. In fact, that's all "fixed point math" is: suitably scaled integers. For example, the popular Allegro library scales numbers such that 0x00010000 == 1.0. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/