Date: Fri, 25 Nov 1994 23:27:50 -0500 (EST) From: Kimberley Burchett Subject: funny division To: DJGPP Mailing List Thanks to all the people who've answered me so far. The problem was I was dividing a signed number by an unsigned number. It promoted the signed one to unsigned - making it MUCH larger. I was using unsigned for the divisor since I knew it would never be negative and I once had a case where using unsigned rather than signed sped things up about 20%. (of course, this was in an inner loop, but it's a simple habit that I picked up). Kim