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
79715cce
Commit
79715cce
authored
Jul 13, 2017
by
Alex Henrie
Committed by
Alexandre Julliard
Jul 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr120: Add expm1.
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
26163f5c
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
58 additions
and
12 deletions
+58
-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
+36
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+3
-3
config.h.in
include/config.h.in
+6
-0
No files found.
configure
View file @
79715cce
...
...
@@ -17421,6 +17421,8 @@ for ac_func in \
erff
\
exp2
\
exp2f
\
expm1
\
expm1f
\
lgamma
\
lgammaf
\
llrint
\
...
...
configure.ac
View file @
79715cce
...
...
@@ -2608,6 +2608,8 @@ AC_CHECK_FUNCS(\
erff \
exp2 \
exp2f \
expm1 \
expm1f \
lgamma \
lgammaf \
llrint \
...
...
dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec
View file @
79715cce
...
...
@@ -231,9 +231,9 @@
@ cdecl exp2f(float) ucrtbase.exp2f
@ cdecl exp2l(double) ucrtbase.exp2l
@ cdecl -arch=arm,x86_64 expf(float) ucrtbase.expf
@
stub
expm1
@
stub
expm1f
@
stub
expm1l
@
cdecl expm1(double) ucrtbase.
expm1
@
cdecl expm1f(float) ucrtbase.
expm1f
@
cdecl expm1l(double) ucrtbase.
expm1l
@ cdecl fabs(double) ucrtbase.fabs
@ cdecl -arch=arm fabsf(float) ucrtbase.fabsf
@ stub fdim
...
...
dlls/msvcr120/msvcr120.spec
View file @
79715cce
...
...
@@ -2134,9 +2134,9 @@
@ cdecl exp2f(float) MSVCR120_exp2f
@ cdecl exp2l(double) MSVCR120_exp2l
@ cdecl -arch=arm,x86_64 expf(float) MSVCRT_expf
@
stub
expm1
@
stub
expm1f
@
stub
expm1l
@
cdecl expm1(double) MSVCR120_
expm1
@
cdecl expm1f(float) MSVCR120_
expm1f
@
cdecl expm1l(double) MSVCR120_
expm1l
@ cdecl fabs(double) MSVCRT_fabs
@ cdecl -arch=arm,x86_64 fabsf(float) MSVCRT_fabsf
@ cdecl fclose(ptr) MSVCRT_fclose
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
79715cce
...
...
@@ -1800,9 +1800,9 @@
@ cdecl exp2f(float) msvcr120.exp2f
@ cdecl exp2l(double) msvcr120.exp2l
@ cdecl -arch=arm,x86_64 expf(float) msvcr120.expf
@
stub
expm1
@
stub
expm1f
@
stub
expm1l
@
cdecl expm1(double) msvcr120.
expm1
@
cdecl expm1f(float) msvcr120.
expm1f
@
cdecl expm1l(double) msvcr120.
expm1l
@ cdecl fabs(double) msvcr120.fabs
@ cdecl -arch=arm,x86_64 fabsf(float) msvcr120.fabsf
@ cdecl fclose(ptr) msvcr120.fclose
...
...
dlls/msvcrt/math.c
View file @
79715cce
...
...
@@ -2412,6 +2412,42 @@ LDOUBLE CDECL MSVCR120_exp2l(LDOUBLE x)
}
/*********************************************************************
* expm1 (MSVCR120.@)
*/
double
CDECL
MSVCR120_expm1
(
double
x
)
{
#ifdef HAVE_EXPM1
double
ret
=
expm1
(
x
);
#else
double
ret
=
exp
(
x
)
-
1
;
#endif
if
(
!
isfinite
(
ret
))
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
return
ret
;
}
/*********************************************************************
* expm1f (MSVCR120.@)
*/
float
CDECL
MSVCR120_expm1f
(
float
x
)
{
#ifdef HAVE_EXPM1F
double
ret
=
expm1f
(
x
);
#else
double
ret
=
exp
(
x
)
-
1
;
#endif
if
(
!
isfinite
(
ret
))
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
return
ret
;
}
/*********************************************************************
* expm1l (MSVCR120.@)
*/
LDOUBLE
CDECL
MSVCR120_expm1l
(
LDOUBLE
x
)
{
return
MSVCR120_expm1
(
x
);
}
/*********************************************************************
* log2 (MSVCR120.@)
*/
double
CDECL
MSVCR120_log2
(
double
x
)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
79715cce
...
...
@@ -2277,9 +2277,9 @@
@ cdecl exp2f(float) MSVCR120_exp2f
@ cdecl exp2l(double) MSVCR120_exp2l
@ cdecl -arch=arm,x86_64 expf(float) MSVCRT_expf
@
stub
expm1
@
stub
expm1f
@
stub
expm1l
@
cdecl expm1(double) MSVCR120_
expm1
@
cdecl expm1f(float) MSVCR120_
expm1f
@
cdecl expm1l(double) MSVCR120_
expm1l
@ cdecl fabs(double) MSVCRT_fabs
@ cdecl -arch=arm fabsf(float) MSVCRT_fabsf
@ cdecl fclose(ptr) MSVCRT_fclose
...
...
include/config.h.in
View file @
79715cce
...
...
@@ -156,6 +156,12 @@
/* Define to 1 if you have the `exp2f' function. */
#undef HAVE_EXP2F
/* Define to 1 if you have the `expm1' function. */
#undef HAVE_EXPM1
/* Define to 1 if you have the `expm1f' function. */
#undef HAVE_EXPM1F
/* Define to 1 if you have the `fallocate' function. */
#undef HAVE_FALLOCATE
...
...
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