Forum Discussion
Altera_Forum
Honored Contributor
19 years agohow to define a float data,in nios ide
i need to define a float data , which it is 16 bits , how can i define it , when i try float a; then my results usually be odd. too big or too small , not the data i want to get . so i think ther...
Altera_Forum
Honored Contributor
19 years agobecause i have a fft code that run on int data , but i want to operat with floating data ,so i must change the data type , the int data it defined by alt_16, but in C, if i define a data in float ,it is 32 bit , so the number of bit is different ,, ........when i do so , the result of floating data is not what i want , so i thought the problem may be come from the definition .. whether i am wrong.