On Thu, Jan 26, 2017 at 11:10 PM, Renzo Fabián <[email protected]> wrote: > I have the following C code's parts that uses tables of sins and cosins
PRU uses 32-bit integer arithmetic, and only has unsigned add and subtract. You'd have to recast your calculation into fixed point and use software multiplication. What is the required accuracy? If it's not too much, perhaps you could use table lookup, or combine table lookup with linear interpolation? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAC%3D1GgHnKV%3DOsLdbOKrvp338asMWzkjhdPYe%3Df3zw6t%2B2Y3FpQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
