Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHow to show float on console?
I want to print float on console. In code : double a; printf("the num is %f/n",a); but ,in nios the result is: the num is no float!who can help me ?
Altera_Forum
Honored Contributor
17 years agoIf you are using the small newlib c library, it has not float support with printf() by specification.