Re: A85: Square roots


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

Re: A85: Square roots



You can raise that number to the power of -1 (i'm not sure how the math
goes to do that), plus you can divide, but remember you can't take the
square root of negative numbers so your best bet would do some error
checking through the algorithm and if neccessary, take the absolute value
of any negative numbers.  there's nothing wrong with dividing besides the
fact that it's slow and there's always the possibility of dividing by
zero

if your multiply and divide source routines are in assembler i'd be happy
to take a look

another thing i just thought of that might enhance performance, i believe
you could use the built in tolerance in the TI-85/86 you just have to
find the memory address to where the tolerance is stored

also i just started doing Z-80 stuff and i am wondering if they have the
command "div"

Kakos
egillespie@juno.com


Follow-Ups: References: