Forum Discussion
Altera_Forum
Honored Contributor
19 years agowhat is the data type of floating??
In my program i want to calculate some floating datas , but i dont know much about the data type about Altera. whether I can define them just like I did in VC. i want some material about such fiel...
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- In my program i want to calculate some floating datas , but i dont know much about the data type about Altera. whether I can define them just like I did in VC. i want some material about such field. thanks a lot :) --- Quote End --- Wanting floating point "in your program" sounds as you you want it in C code running on the Nios processor. That should work just fine. The Nios compiler handles single and double precision FP. There's no floating point hardware, though, so it's all handled in library functions - if speed is an issue, you might need to check that it runs as fast as you want.