Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f1dad148
Commit
f1dad148
authored
Jul 12, 2017
by
Alex Henrie
Committed by
Alexandre Julliard
Jul 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr120: Add acosh.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4df7ced7
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
67 additions
and
12 deletions
+67
-12
configure
configure
+2
-0
configure.ac
configure.ac
+2
-0
api-ms-win-crt-math-l1-1-0.spec
...pi-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec
+3
-3
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+3
-3
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+3
-3
math.c
dlls/msvcrt/math.c
+45
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+3
-3
config.h.in
include/config.h.in
+6
-0
No files found.
configure
View file @
f1dad148
...
...
@@ -17406,6 +17406,8 @@ $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
fi
for
ac_func
in
\
acosh
\
acoshf
\
asinh
\
asinhf
\
cbrt
\
...
...
configure.ac
View file @
f1dad148
...
...
@@ -2594,6 +2594,8 @@ then
fi
AC_CHECK_FUNCS(\
acosh \
acoshf \
asinh \
asinhf \
cbrt \
...
...
dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec
View file @
f1dad148
...
...
@@ -124,9 +124,9 @@
@ cdecl _yn(long double) ucrtbase._yn
@ cdecl acos(double) ucrtbase.acos
@ cdecl -arch=arm,x86_64 acosf(float) ucrtbase.acosf
@
stub
acosh
@
stub
acoshf
@
stub
acoshl
@
cdecl acosh(double) ucrtbase.
acosh
@
cdecl acoshf(float) ucrtbase.
acoshf
@
cdecl acoshl(double) ucrtbase.
acoshl
@ cdecl asin(double) ucrtbase.asin
@ cdecl -arch=arm,x86_64 asinf(float) ucrtbase.asinf
@ cdecl asinh(double) ucrtbase.asinh
...
...
dlls/msvcr120/msvcr120.spec
View file @
f1dad148
...
...
@@ -2011,9 +2011,9 @@
@ cdecl abs(long) MSVCRT_abs
@ cdecl acos(double) MSVCRT_acos
@ cdecl -arch=arm,x86_64 acosf(float) MSVCRT_acosf
@
stub
acosh
@
stub
acoshf
@
stub
acoshl
@
cdecl acosh(double) MSVCR120_
acosh
@
cdecl acoshf(float) MSVCR120_
acoshf
@
cdecl acoshl(double) MSVCR120_
acoshl
@ cdecl asctime(ptr) MSVCRT_asctime
@ cdecl asctime_s(ptr long ptr) MSVCRT_asctime_s
@ cdecl asin(double) MSVCRT_asin
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
f1dad148
...
...
@@ -1677,9 +1677,9 @@
@ cdecl abs(long) msvcr120.abs
@ cdecl acos(double) msvcr120.acos
@ cdecl -arch=arm,x86_64 acosf(float) msvcr120.acosf
@
stub
acosh
@
stub
acoshf
@
stub
acoshl
@
cdecl acosh(double) msvcr120.
acosh
@
cdecl acoshf(float) msvcr120.
acoshf
@
cdecl acoshl(double) msvcr120.
acoshl
@ cdecl asctime(ptr) msvcr120.asctime
@ cdecl asctime_s(ptr long ptr) msvcr120.asctime_s
@ cdecl asin(double) msvcr120.asin
...
...
dlls/msvcrt/math.c
View file @
f1dad148
...
...
@@ -2899,6 +2899,51 @@ LDOUBLE CDECL MSVCR120_asinhl(LDOUBLE x)
}
/*********************************************************************
* acosh (MSVCR120.@)
*/
double
CDECL
MSVCR120_acosh
(
double
x
)
{
if
(
x
<
1
)
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
#ifdef HAVE_ACOSH
return
acosh
(
x
);
#else
if
(
x
<
1
)
{
MSVCRT_fenv_t
env
;
MSVCRT_fegetenv
(
&
env
);
env
.
status
|=
MSVCRT__SW_INVALID
;
MSVCRT_fesetenv
(
&
env
);
return
NAN
;
}
if
(
!
isfinite
(
x
*
x
))
return
log
(
2
)
+
log
(
x
);
return
log
(
x
+
sqrt
(
x
*
x
-
1
));
#endif
}
/*********************************************************************
* acoshf (MSVCR120.@)
*/
float
CDECL
MSVCR120_acoshf
(
float
x
)
{
#ifdef HAVE_ACOSHF
if
(
x
<
1
)
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
return
acoshf
(
x
);
#else
return
MSVCR120_acosh
(
x
);
#endif
}
/*********************************************************************
* acoshl (MSVCR120.@)
*/
LDOUBLE
CDECL
MSVCR120_acoshl
(
LDOUBLE
x
)
{
return
MSVCR120_acosh
(
x
);
}
/*********************************************************************
* _scalb (MSVCRT.@)
* scalbn (MSVCR120.@)
* scalbln (MSVCR120.@)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
f1dad148
...
...
@@ -2153,9 +2153,9 @@
@ cdecl abs(long) MSVCRT_abs
@ cdecl acos(double) MSVCRT_acos
@ cdecl -arch=arm,x86_64 acosf(float) MSVCRT_acosf
@
stub
acosh
@
stub
acoshf
@
stub
acoshl
@
cdecl acosh(double) MSVCR120_
acosh
@
cdecl acoshf(float) MSVCR120_
acoshf
@
cdecl acoshl(double) MSVCR120_
acoshl
@ cdecl asctime(ptr) MSVCRT_asctime
@ cdecl asctime_s(ptr long ptr) MSVCRT_asctime_s
@ cdecl asin(double) MSVCRT_asin
...
...
include/config.h.in
View file @
f1dad148
...
...
@@ -10,6 +10,12 @@
/* Define to the file extension for executables. */
#undef EXEEXT
/* Define to 1 if you have the `acosh' function. */
#undef HAVE_ACOSH
/* Define to 1 if you have the `acoshf' function. */
#undef HAVE_ACOSHF
/* Define to 1 if you have the <alias.h> header file. */
#undef HAVE_ALIAS_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment