Re: A82: multiply by 12


[Prev][Next][Index][Thread]

Re: A82: multiply by 12




double it. (rotate/shift whatever...)  (x2)
double it again (x4)
save that in a var.
double the original (x8)
add the ans and the saved one. (x12)

that should work.  (wow... i actually learned something in stuy...)

-Greg




On Mon, 18 May 1998 21:23:05 EDT ADAMMAN106 <ADAMMAN106@aol.com> writes:
>
>does anyone know a fast way to multiply a number by 12?  I need it for 
>FLine
>(that substitute for FIND_PIXEL I posted will not work).  Please help.
>Thanks
>
>~Adamman
>

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


References: