Hi Sergey,

Yes, although I wouldn't advise it.  I have tried these out and they are
much much slower than the math.h functions which have been heavily
optimized and use different algorithms and tables for various situations
(at least I have heard).

Fred

On Thu, Dec 14, 2017 at 1:35 PM, Sergey Shcherbina <[email protected]> wrote:

>
> Hi!
>
> Is possible to use the simple function in GSL code - gsl_sin(x) or
> gsl_cos(x) for
>
> ordinary calculation of it instead of sin(x) and cos(x) without #include
> <math.h>?
>
> Regards,
> Sergey.
>
>
>
>

Reply via email to