mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
15 lines
383 B
C
15 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);
|
|
}
|