aboutsummaryrefslogtreecommitdiffstats
path: root/src/libnml/posemath/sincos.c
blob: 649e4df6a8aed512e0ce6cb584336e6f3cd3ff6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/********************************************************************
* Description: sincos.c
*
*   Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: LGPL Version 2
* System: Linux
*    
* Copyright (c) 2004 All rights reserved.
********************************************************************/
/*
   sincos.c

   Modification history:

  21-Jan-2004  P.C. Moved across from the original EMC source tree.
*/

#include "rtapi_math.h"
#include "sincos.h"

void pm_sincos(double x, double *sx, double *cx)
{
    *sx = sin(x);
    *cx = cos(x);
}
bues.ch cgit interface