CORDIC: Difference between revisions

Content added Content deleted
(Oops - fix comment)
(Undo revision 346148 by Tigerofdarkness (talk))
Tag: Undo
Line 24: Line 24:
x = x2 ; y = y2
x = x2 ; y = y2
end loop
end loop
return (y/x) // y = sin alpha, x = cos alphs
return (y/x) // x = sin alpha, y = cos alphs
end function
end function