mirror of https://git.musl-libc.org/git/musl
Browse Source
note that this library itself is built with -ffreestanding so sincos.c should not be miscompiled even if the gcc used to compile musl has this bug.rs-1.0
1 changed files with 8 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
#define _GNU_SOURCE |
||||
|
#include <math.h> |
||||
|
|
||||
|
void sincos(double t, double *y, double *x) |
||||
|
{ |
||||
|
*y = sin(t); |
||||
|
*x = cos(t); |
||||
|
} |
||||
Loading…
Reference in new issue