I have made a code and it takes input from cos and sin function.Unfortunately code behaves unexpectedly,I have used math.h and stdlib , code works fine in c but not in tm4c123ghpm.
sig->real =A * sine(w*i + phase);
when i implement this line code stops but when i comment this code code works fine.