mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 18:45:51 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
221 lines
3.1 KiB
C
221 lines
3.1 KiB
C
#include <precomp.h>
|
|
#include <math.h>
|
|
|
|
double CDECL _CIsin(double x);
|
|
double CDECL _CIcos(double x);
|
|
double CDECL _CItan(double x);
|
|
double CDECL _CIsinh(double x);
|
|
double CDECL _CIcosh(double x);
|
|
double CDECL _CItanh(double x);
|
|
double CDECL _CIasin(double x);
|
|
double CDECL _CIacos(double x);
|
|
double CDECL _CIatan(double x);
|
|
double CDECL _CIatan2(double y, double x);
|
|
double CDECL _CIexp(double x);
|
|
double CDECL _CIlog(double x);
|
|
double CDECL _CIlog10(double x);
|
|
double CDECL _CIpow(double x, double y);
|
|
double CDECL _CIsqrt(double x);
|
|
double CDECL _CIfmod(double x, double y);
|
|
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIsin(double x)
|
|
{
|
|
return sin(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIcos(double x)
|
|
{
|
|
return cos(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CItan(double x)
|
|
{
|
|
return tan(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIsinh(double x)
|
|
{
|
|
return sinh(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIcosh(double x)
|
|
{
|
|
return cosh(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CItanh(double x)
|
|
{
|
|
return tanh(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIasin(double x)
|
|
{
|
|
return asin(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIacos(double x)
|
|
{
|
|
return acos(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIatan(double x)
|
|
{
|
|
return atan(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIatan2(double x, double y)
|
|
{
|
|
return atan2(y, x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIexp(double x)
|
|
{
|
|
return exp(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIlog(double x)
|
|
{
|
|
return log(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIlog10(double x)
|
|
{
|
|
return log10(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIpow(double x, double y)
|
|
{
|
|
return pow(x, y);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIsqrt(double x)
|
|
{
|
|
return sqrt(x);
|
|
}
|
|
/*
|
|
* @implemented
|
|
*/
|
|
double CDECL _CIfmod(double x, double y)
|
|
{
|
|
return fmod(x, y);
|
|
}
|
|
|
|
/* The following functions are likely workarounds for the pentium fdiv bug */
|
|
void __stdcall _adj_fdiv_m32( unsigned int arg )
|
|
{
|
|
FIXME("_adj_fdiv_m32 stub\n");
|
|
}
|
|
void __stdcall _adj_fdiv_m32i( int arg )
|
|
{
|
|
FIXME("_adj_fdiv_m32i stub\n");
|
|
}
|
|
|
|
void __stdcall _adj_fdiv_m64( unsigned __int64 arg )
|
|
{
|
|
FIXME("_adj_fdiv_m64 stub\n");
|
|
}
|
|
|
|
void _adj_fdiv_r(void)
|
|
{
|
|
FIXME("_adj_fdiv_r stub\n");
|
|
}
|
|
|
|
void __stdcall _adj_fdivr_m32( unsigned int arg )
|
|
{
|
|
FIXME("_adj_fdivr_m32i stub\n");
|
|
}
|
|
|
|
void __stdcall _adj_fdivr_m32i( int arg )
|
|
{
|
|
FIXME("_adj_fdivr_m32i stub\n");
|
|
}
|
|
|
|
void __stdcall _adj_fdivr_m64( unsigned __int64 arg )
|
|
{
|
|
FIXME("_adj_fdivr_m64 stub\n");
|
|
}
|
|
|
|
void _adj_fpatan(void)
|
|
{
|
|
FIXME("_adj_fpatan stub\n");
|
|
}
|
|
|
|
void __stdcall _adj_fdiv_m16i( short arg )
|
|
{
|
|
FIXME("_adj_fdiv_m16i stub\n");
|
|
}
|
|
|
|
void __stdcall _adj_fdivr_m16i( short arg )
|
|
{
|
|
FIXME("_adj_fdivr_m16i stub\n");
|
|
}
|
|
|
|
void _adj_fprem(void)
|
|
{
|
|
FIXME("_adj_fprem stub\n");
|
|
}
|
|
|
|
void _adj_fprem1(void)
|
|
{
|
|
FIXME("_adj_fprem1 stub\n");
|
|
}
|
|
|
|
void _adj_fptan(void)
|
|
{
|
|
FIXME("_adj_fptan stub\n");
|
|
}
|
|
|
|
void _safe_fdiv(void)
|
|
{
|
|
FIXME("_safe_fdiv stub\n");
|
|
}
|
|
|
|
void _safe_fdivr(void)
|
|
{
|
|
FIXME("_safe_fdivr stub\n");
|
|
}
|
|
|
|
void _safe_fprem(void)
|
|
{
|
|
FIXME("_safe_fprem stub\n");
|
|
}
|
|
|
|
void _safe_fprem1(void)
|
|
{
|
|
FIXME("_safe_fprem1 stub\n");
|
|
}
|
|
|
|
|