Forum Discussion
Altera_Forum
Honored Contributor
10 years agoIs your Nios CPU compiled with the floating point custom instructions? If not you need to use software emulation. I think there is a compiler flag for it.
Second, __uint64_t sounds more like a integer type, and using it with a %f in printf may lead to undefined behaviour.