CORDIC algorithim one approach -
The there is alwas UDB asm and editor to construct your own
Another approach is use of a lookup table, size and element size
of course controlling accuracy.
If you google "embedded sine algorithms" you will get a number
of hits on papers, solutions.
I'm aware of the different approaches to calculate a sin, cos more efficiently.... I'm just not sure which one could be programmed into UDBs since I haven't looked into them on detail.... I'll look onto de cordic alg.