Forum Discussion
Altera_Forum
Honored Contributor
15 years agoquestion about variables of type double and NIOS2?
hello, i'm a begineer in hardware implementation and i have a question. i developped a program using visual c++. i used variables of tpe double in my code. does nios2 can execute th...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- The double precision floating point is supported by library functions. As such it should give the same results but will be slow. Single precision FP can be supported by custom instructions - they will be less slow than using the library functions. --- Quote End --- good morning, thanks for the answer. First what's the solution that can i follow to make my program fast if i will use double precision. Second, are there any techniques to maintain the same precision and make it fast. i heared about fixed point we multiply the real number by 2^p and work like using the int type. thanks an advance