repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libm
/
math
/
w_sincos.c
blob
491efa4184f34794cea6d44ebee2d6d666fcd54e
1
/* sincos -- currently no more efficient than two separate calls to
2
sin and cos. */
3
4
#include
"fdlibm.h"
5
#include <errno.h>
6
7
#ifndef _DOUBLE_IS_32BITS
8
9
#ifdef __STDC__
10
void
sincos
(
double
x
,
double
*
sinx
,
double
*
cosx
)
11
#else
12
void
sincos
(
x
,
sinx
,
cosx
)
13
double
x
;
14
double
*
sinx
;
15
double
*
cosx
;
16
#endif
17
{
18
*
sinx
=
sin
(
x
);
19
*
cosx
=
cos
(
x
);
20
}
21
22
#endif
/* defined(_DOUBLE_IS_32BITS) */