delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/23/23:16:33.1

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 387 page fault thing
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <30d7gsk8bqg0949mkvmgdt44h4oi3q3snl@4ax.com>
References: <3900B453 DOT F41CC292 AT hotmail DOT com> <200004220935 DOT FAA18388 AT indy DOT delorie DOT com> <3901BE44 DOT F90DB80F AT hotmail DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 26
X-Trace: /K+neRvaZ4eQZCjOQOZnkNt8ltp1ojXJykfObP5uIKJIvbyGkp49/u9KrGyfTa6l/iTO364UGgvd!r1Eq4eQhPC9nfVatjFTCBMbEs4JBSQFWe5S5LvhZ5NggYKoAhVNl9by7+Kt1eZMrVIt4Zi6GKXVA!6J5DzeI=
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: Mon, 24 Apr 2000 02:42:37 GMT
Distribution: world
Date: Mon, 24 Apr 2000 02:42:37 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 22 Apr 2000 14:59:58 GMT, Andrew Hakman <hakmana AT hotmail DOT com>
wrote:

>Eli Zaretskii wrote:
>
>> One thing to try would be to not use FP math at all in the callback.
>> You could try replacing it with fixed-point computations; perhaps that
>> will make the problem go away.
>
>How would I convert 'double=double' to fixed point? Is there another type of
>variable that I should be using? I have thought of sending these values as 2
>integers, one being the left side of the decimal, and the other being the
>right side, but then reassembling (and splitting them initally) seems like it
>would be a pain in the @$$, but if that's what needs to be done, then that's
>what I'll do!

Not necessarily; look at the fixed-point math routines in the Allegro
sources.  Clue:  typedef int fixed;

-- 
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/

- Raw text -


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