Forum Discussion
Altera_Forum
Honored Contributor
15 years agoMath functions (sine & cosine) latency
Can anyone provide the data about the latency for sine and cosine single precision functions from math.h lib on Cyclone III, possibly Cyclone II, with floating point hardware acceleration (hardware d...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- That's not true. In the Tutorial "Using Nios II Floating-Point Custom Instructions", you can find : So the use of the floating point custom instruction affects the computation speed of the sine and cosine. --- Quote End --- Then how can get the math library work with hardware FPU. I have tested sin/cos with/without hardware FPU. The performance is the same. Is there any configeration I need to set? Thanks.