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 agoI think you're on your own with this problem. Some GPUs have a 16-bit floating point data type, but the C compiler for Nios does not.
I'm sure that, if you built a C++ library for 16-bit floating point, other people would be interested in it too.