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
31b835d0
Commit
31b835d0
authored
Jul 17, 2017
by
Alex Henrie
Committed by
Alexandre Julliard
Jul 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr120: Add log1p.
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
548382e6
Hide 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 @
31b835d0
...
...
@@ -17429,6 +17429,8 @@ for ac_func in \
llrintf
\
llround
\
llroundf
\
log1p
\
log1pf
\
log2
\
log2f
\
lrint
\
...
...
configure.ac
View file @
31b835d0
...
...
@@ -2616,6 +2616,8 @@ AC_CHECK_FUNCS(\
llrintf \
llround \
llroundf \
log1p \
log1pf \
log2 \
log2f \
lrint \
...
...
dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec
View file @
31b835d0
...
...
@@ -270,9 +270,9 @@
@ cdecl log(double) ucrtbase.log
@ cdecl log10(double) ucrtbase.log10
@ cdecl -arch=arm,x86_64 log10f(float) ucrtbase.log10f
@
stub
log1p
@
stub
log1pf
@
stub
log1pl
@
cdecl log1p(double) ucrtbase.
log1p
@
cdecl log1pf(float) ucrtbase.
log1pf
@
cdecl log1pl(double) ucrtbase.
log1pl
@ cdecl log2(double) ucrtbase.log2
@ cdecl log2f(float) ucrtbase.log2f
@ cdecl log2l(double) ucrtbase.log2l
...
...
dlls/msvcr120/msvcr120.spec
View file @
31b835d0
...
...
@@ -2259,9 +2259,9 @@
@ cdecl -arch=arm,x86_64 logf(float) MSVCRT_logf
@ cdecl log10(double) MSVCRT_log10
@ cdecl -arch=arm,x86_64 log10f(float) MSVCRT_log10f
@
stub
log1p
@
stub
log1pf
@
stub
log1pl
@
cdecl log1p(double) MSVCR120_
log1p
@
cdecl log1pf(float) MSVCR120_
log1pf
@
cdecl log1pl(double) MSVCR120_
log1pl
@ cdecl log2(double) MSVCR120_log2
@ cdecl log2f(float) MSVCR120_log2f
@ cdecl log2l(double) MSVCR120_log2l
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
31b835d0
...
...
@@ -1922,9 +1922,9 @@
@ cdecl -arch=arm,x86_64 logf(float) msvcr120.logf
@ cdecl log10(double) msvcr120.log10
@ cdecl -arch=arm,x86_64 log10f(float) msvcr120.log10f
@
stub
log1p
@
stub
log1pf
@
stub
log1pl
@
cdecl log1p(double) msvcr120.
log1p
@
cdecl log1pf(float) msvcr120.
log1pf
@
cdecl log1pl(double) msvcr120.
log1pl
@ cdecl log2(double) msvcr120.log2
@ cdecl log2f(float) msvcr120.log2f
@ cdecl log2l(double) msvcr120.log2l
...
...
dlls/msvcrt/math.c
View file @
31b835d0
...
...
@@ -2448,6 +2448,42 @@ LDOUBLE CDECL MSVCR120_expm1l(LDOUBLE x)
}
/*********************************************************************
* log1p (MSVCR120.@)
*/
double
CDECL
MSVCR120_log1p
(
double
x
)
{
if
(
x
<
-
1
)
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
else
if
(
x
==
-
1
)
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
#ifdef HAVE_LOG1P
return
log1p
(
x
);
#else
return
log
(
1
+
x
);
#endif
}
/*********************************************************************
* log1pf (MSVCR120.@)
*/
float
CDECL
MSVCR120_log1pf
(
float
x
)
{
if
(
x
<
-
1
)
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
else
if
(
x
==
-
1
)
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
#ifdef HAVE_LOG1PF
return
log1pf
(
x
);
#else
return
log
(
1
+
x
);
#endif
}
/*********************************************************************
* log1pl (MSVCR120.@)
*/
LDOUBLE
CDECL
MSVCR120_log1pl
(
LDOUBLE
x
)
{
return
MSVCR120_log1p
(
x
);
}
/*********************************************************************
* log2 (MSVCR120.@)
*/
double
CDECL
MSVCR120_log2
(
double
x
)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
31b835d0
...
...
@@ -2392,9 +2392,9 @@
@ cdecl log(double) MSVCRT_log
@ cdecl log10(double) MSVCRT_log10
@ cdecl -arch=arm,x86_64 log10f(float) MSVCRT_log10f
@
stub
log1p
@
stub
log1pf
@
stub
log1pl
@
cdecl log1p(double) MSVCR120_
log1p
@
cdecl log1pf(float) MSVCR120_
log1pf
@
cdecl log1pl(double) MSVCR120_
log1pl
@ cdecl log2(double) MSVCR120_log2
@ cdecl log2f(float) MSVCR120_log2f
@ cdecl log2l(double) MSVCR120_log2l
...
...
include/config.h.in
View file @
31b835d0
...
...
@@ -522,6 +522,12 @@
/* Define to 1 if you have the `llroundf' function. */
#undef HAVE_LLROUNDF
/* Define to 1 if you have the `log1p' function. */
#undef HAVE_LOG1P
/* Define to 1 if you have the `log1pf' function. */
#undef HAVE_LOG1PF
/* Define to 1 if you have the `log2' function. */
#undef HAVE_LOG2
...
...
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