xref: /reactos/sdk/lib/crt/math/sincos.c (revision 048ea61a)
1 /*
2  * PROJECT:     ReactOS CRT library
3  * LICENSE:     MIT (https://spdx.org/licenses/MIT)
4  * PURPOSE:     Fallback implementation of sincos
5  * COPYRIGHT:   Copyright 2022 Timo Kreuzer <timo.kreuzer@reactos.org>
6  */
7 
8 #include <math.h>
9 
10 // This is a very simplistic implementation to make GCC 11 happy
11 void sincos(double x, double *s, double *c)
12 {
13     *s = sin(x);
14     *c = cos(x);
15 }
16