Shouwei Li casmyu at
Thu Jun 20 17:25:13 CEST 2013


GMP does not provide any trigonometric functions.
If you really want to use these functions for big number, one possible way
would be with the help of periodicity. for example you could subtract
k*2*pi and force the result falling into [-2pi, 2pi], and then call a
normal sin function in the math library.

On Thu, Jun 20, 2013 at 2:46 AM, 王渊 <wy_pl at> wrote:

> Greeting All,
> How to do the trigonometric functions in gmp,such as Sine function,Cosine
> function?
> Peng
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at

Best Regards!
Shouwei Li

More information about the gmp-discuss mailing list