ReactOS 0.4.15-dev-7942-gd23573b
sincos.c
Go to the documentation of this file.
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
11void sincos(double x, double *s, double *c)
12{
13 *s = sin(x);
14 *c = cos(x);
15}
_STLP_DECLSPEC complex< float > _STLP_CALL cos(const complex< float > &)
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &)
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLdouble s
Definition: gl.h:2039
const GLubyte * c
Definition: glext.h:8905
void sincos(double x, double *s, double *c)
Definition: sincos.c:11