NOHWJ
New Contributor
5 years agoHow can i use float data type in NIOS II?
Hi,
i added FPH2 (Floating Point Hardware 2) and declared float type variable and printed it to check value.
but, it showed empty value.
is it correct method to use float type like this?
------------------------------------------------------------------------------------------------------------------
float pi = 3.14;
printf("%f",pi);