Computing exponentials and Trig functions

Hans Aberg haberg at
Thu Dec 6 21:53:54 CET 2007

On 6 Dec 2007, mr.janus at wrote:

> of the many problems i'm having is how to speed up the  
> calculation of trig functions.
> I have already done the modulo pi/2 trick to speed things up.

Have you considered reducing modulo say pi/12, if not packages  
already do that?

   Hans Aberg

More information about the gmp-discuss mailing list