Forum Discussion
Altera_Forum
Honored Contributor
10 years agohi, thanks for your reply.
in the " Using NiosII Floating-Point Custom Instructions Tutorial.pdf", there is a table https://www.alteraforum.com/forum/attachment.php?attachmentid=10598 the table shows that the nios can do lots of math, including exp log sin ... how these math can be done in nois? i find in the math.h : # ifndef _REENT_ONLY # ifndef __math_68881 extern double acos _PARAMS((double)); extern double asin _PARAMS((double)); extern double atan2 _PARAMS((double, double)); extern double cosh _PARAMS((double)); extern double sinh _PARAMS((double)); extern double exp _PARAMS((double)); extern double ldexp _PARAMS((double, int)); extern double log _PARAMS((double)); extern double log10 _PARAMS((double)); extern double pow _PARAMS((double, double)); extern double sqrt _PARAMS((double)); extern double fmod _PARAMS((double, double)); but i did not find the definition of these functions.