Message-ID: <32F6A38C.25F3@post.comstar.ru> Date: Mon, 03 Feb 1997 18:48:44 -0800 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: zager AT post DOT comstar DOT ru MIME-Version: 1.0 To: DJGPP Mail List Subject: FIX math in Allegro misfeature (possible) ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I just try to use fix math in Allegro. And I'm supprasing why where are no macros or functions like this (may be I missed something ?) : #define SET_INT(fFix,nInt) fFix=((fFix)&0x0000ffff)|(((nInt)<<16)&0xffff0000) #define SET_FIX(fFix,nFix) fFix=((fFix)&0xffff0000)|((nFix)&0x0000ffff) #define GET_INT(fFix) (int)(((fFix)>>16)&0x0000ffff) #define GET_FIX(fFix) (int)((fFix)&0x0000ffff) -- Regards, Dim Zegebart, Moscow Russia.