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

Re: A85: 16-bit integer Square Root




Very nice.  It works good.  One thing though, and I won't have time to
look at it because I'm going on vacation is that when I tried to take the
square root of 3025 it gave me 54 as the answer when the answer is 55.  I
understand where this comes from in the rounding down, but this function
works when you don't have a perfect square.  The only exception I found
was any multiple of 4 (4, 16, etc.)

Mordant
egillespie@juno.com
erik_gillespie_1096@gwgate.kvcc.edu

"Just because you're paranoid don't mean they're not after you." -Kurt
Cobain

_____________________________________________________________________
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]


Follow-Ups: References: