#include "header.h" float Cordic ( float x) { int bit,i,n=32; // n is the number of iterations. float f_b=x,ans; int a[n]; // a[n] is an array used to stroe the binary form of the float number. float V[n][2], Cos[n], Sin[n]; // V is a matrix used to store the cos and sin value . for ( i=0; i