Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSOPC builder
hi, my problem is that i'm trying to get floating point numbers in nios; i had done my program yesterday and it was succesfull when it generated, but in nios it was giving 0 when i wrote numbers with...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- my problem is that i'm trying to get floating point numbers in nios; i had done my program yesterday and it was succesfull when it generated, but in nios it was giving 0 when i wrote numbers with printf. --- Quote End --- Double check that the "enable small c library" option is not selected in your BSP settings. The small C library does not including floating point support for printf.