On Mon, Nov 29, 2004 at 09:15:49PM -0500, James Dabbs wrote: > I'm trying to squeeze a few more cycles out of one my LPC, and I'm > looking for an optimized way to divide by 10 and leave the quotient and > remainder. I.e., a faster way to do this: Take a look at the library functions div() and ldiv(). Clyde -- Clyde Stubbs | HI-TECH Software Email: clyde@... | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@... | AUS: +61 7 3552 7777 +61 7 3552 7778 --------------------------------------------------------------------------- HI-TECH C: compiling the real world.
Message
Re: [lpc2000] Slightly OT -- Fast Divide By 10
2004-12-01 by Clyde Stubbs