Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIs There A Megafunction For Arctan ?
hi everyone, is there any megafunctşon that implements arctan ? is there anyone know about this? thanks..
Altera_Forum
Honored Contributor
16 years agoUnfortunately casting won't help. The actual operand presented to the synthesis would still be a real, which is not synthesizable.
Writing an integer equivalent for the arctan() function as given in the ieee_math_real is not that difficult. I'll might give it a shot later tonight (after finishing my other work duties).