mirror of
https://github.com/reactos/reactos.git
synced 2024-11-17 12:27:17 +00:00
16 lines
383 B
C
16 lines
383 B
C
|
/*
|
||
|
* PROJECT: ReactOS CRT library
|
||
|
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
||
|
* PURPOSE: Fallback implementation of sincos
|
||
|
* COPYRIGHT: Copyright 2022 Timo Kreuzer <timo.kreuzer@reactos.org>
|
||
|
*/
|
||
|
|
||
|
#include <math.h>
|
||
|
|
||
|
// This is a very simplistic implementation to make GCC 11 happy
|
||
|
void sincos(double x, double *s, double *c)
|
||
|
{
|
||
|
*s = sin(x);
|
||
|
*c = cos(x);
|
||
|
}
|