msvcr120: Add asinh.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Daniel Lehman 2016-03-28 12:00:35 -07:00 committed by Alexandre Julliard
parent 82f59928d4
commit e084240415
8 changed files with 56 additions and 12 deletions

2
configure vendored
View File

@ -16858,6 +16858,8 @@ $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
fi
for ac_func in \
asinh \
asinhf \
cbrt \
cbrtf \
erf \

View File

@ -2516,6 +2516,8 @@ then
fi
AC_CHECK_FUNCS(\
asinh \
asinhf \
cbrt \
cbrtf \
erf \

View File

@ -129,9 +129,9 @@
@ stub acoshl
@ cdecl asin(double) ucrtbase.asin
@ cdecl -arch=arm,x86_64 asinf(float) ucrtbase.asinf
@ stub asinh
@ stub asinhf
@ stub asinhl
@ cdecl asinh(double double) ucrtbase.asinh
@ cdecl asinhf(float float) ucrtbase.asinhf
@ cdecl asinhl(double double) ucrtbase.asinhl
@ cdecl atan(double) ucrtbase.atan
@ cdecl atan2(double double) ucrtbase.atan2
@ cdecl -arch=arm,x86_64 atan2f(float float) ucrtbase.atan2f

View File

@ -2018,9 +2018,9 @@
@ cdecl asctime_s(ptr long ptr) MSVCRT_asctime_s
@ cdecl asin(double) MSVCRT_asin
@ cdecl -arch=arm,x86_64 asinf(float) MSVCRT_asinf
@ stub asinh
@ stub asinhf
@ stub asinhl
@ cdecl asinh(double double) MSVCR120_asinh
@ cdecl asinhf(float float) MSVCR120_asinhf
@ cdecl asinhl(double double) MSVCR120_asinhl
@ cdecl atan(double) MSVCRT_atan
@ cdecl -arch=arm,x86_64 atanf(float) MSVCRT_atanf
@ cdecl atan2(double double) MSVCRT_atan2

View File

@ -1684,9 +1684,9 @@
@ cdecl asctime_s(ptr long ptr) msvcr120.asctime_s
@ cdecl asin(double) msvcr120.asin
@ cdecl -arch=arm,x86_64 asinf(float) msvcr120.asinf
@ stub asinh
@ stub asinhf
@ stub asinhl
@ cdecl asinh(double double) msvcr120.asinh
@ cdecl asinhf(float float) msvcr120.asinhf
@ cdecl asinhl(double double) msvcr120.asinhl
@ cdecl atan(double) msvcr120.atan
@ cdecl -arch=arm,x86_64 atanf(float) msvcr120.atanf
@ cdecl atan2(double double) msvcr120.atan2

View File

@ -2743,3 +2743,37 @@ double CDECL MSVCR120_fmin(double x, double y)
return signbit(x) ? x : y;
return x<y ? x : y;
}
/*********************************************************************
* asinh (MSVCR120.@)
*/
double CDECL MSVCR120_asinh(double x)
{
#ifdef HAVE_ASINH
return asinh(x);
#else
FIXME( "not implemented\n" );
return 0.0;
#endif
}
/*********************************************************************
* asinhf (MSVCR120.@)
*/
float CDECL MSVCR120_asinhf(float x)
{
#ifdef HAVE_ASINHF
return asinhf(x);
#else
FIXME( "not implemented\n" );
return 0.0f;
#endif
}
/*********************************************************************
* asinhl (MSVCR120.@)
*/
LDOUBLE CDECL MSVCR120_asinhl(LDOUBLE x)
{
return MSVCR120_asinh(x);
}

View File

@ -2160,9 +2160,9 @@
@ cdecl asctime_s(ptr long ptr) MSVCRT_asctime_s
@ cdecl asin(double) MSVCRT_asin
@ cdecl -arch=arm,x86_64 asinf(float) MSVCRT_asinf
@ stub asinh
@ stub asinhf
@ stub asinhl
@ cdecl asinh(double double) MSVCR120_asinh
@ cdecl asinhf(float float) MSVCR120_asinhf
@ cdecl asinhl(double double) MSVCR120_asinhl
@ cdecl atan(double) MSVCRT_atan
@ cdecl atan2(double double) MSVCRT_atan2
@ cdecl -arch=arm,x86_64 atan2f(float float) MSVCRT_atan2f

View File

@ -32,6 +32,12 @@
/* Define to 1 if you have the `asctime_r' function. */
#undef HAVE_ASCTIME_R
/* Define to 1 if you have the `asinh' function. */
#undef HAVE_ASINH
/* Define to 1 if you have the `asinhf' function. */
#undef HAVE_ASINHF
/* Define to 1 if you have the <asm/types.h> header file. */
#undef HAVE_ASM_TYPES_H