question

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


Hi,

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 126.com> 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 gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
>



-- 
Best Regards!
Shouwei Li


More information about the gmp-discuss mailing list