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
ac4e6759
Commit
ac4e6759
authored
May 14, 2021
by
Piotr Caban
Committed by
Alexandre Julliard
May 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Call nextafter in nexttoward implementation.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1dc3aa80
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
27 deletions
+1
-27
configure
configure
+0
-1
configure.ac
configure.ac
+0
-1
math.c
dlls/msvcrt/math.c
+1
-7
unixlib.c
dlls/msvcrt/unixlib.c
+0
-14
unixlib.h
dlls/msvcrt/unixlib.h
+0
-1
config.h.in
include/config.h.in
+0
-3
No files found.
configure
View file @
ac4e6759
...
...
@@ -19640,7 +19640,6 @@ for ac_func in \
log1pf
\
log2
\
log2f
\
nexttoward
\
nexttowardf
\
remainder
\
remainderf
\
...
...
configure.ac
View file @
ac4e6759
...
...
@@ -2680,7 +2680,6 @@ AC_CHECK_FUNCS(\
log1pf \
log2 \
log2f \
nexttoward \
nexttowardf \
remainder \
remainderf \
...
...
dlls/msvcrt/math.c
View file @
ac4e6759
...
...
@@ -3487,13 +3487,7 @@ float CDECL nearbyintf(float x)
*/
double
CDECL
MSVCRT_nexttoward
(
double
num
,
double
next
)
{
double
ret
=
unix_funcs
->
nexttoward
(
num
,
next
);
if
(
!
(
_fpclass
(
ret
)
&
(
_FPCLASS_PN
|
_FPCLASS_NN
|
_FPCLASS_SNAN
|
_FPCLASS_QNAN
))
&&
!
isinf
(
num
))
{
*
_errno
()
=
ERANGE
;
}
return
ret
;
return
_nextafter
(
num
,
next
);
}
/*********************************************************************
...
...
dlls/msvcrt/unixlib.c
View file @
ac4e6759
...
...
@@ -548,19 +548,6 @@ static float CDECL unix_modff( float x, float *iptr )
}
/*********************************************************************
* nexttoward
*/
static
double
CDECL
unix_nexttoward
(
double
num
,
double
next
)
{
#ifdef HAVE_NEXTTOWARD
return
nexttoward
(
num
,
next
);
#else
FIXME
(
"not implemented
\n
"
);
return
0
;
#endif
}
/*********************************************************************
* nexttowardf
*/
static
float
CDECL
unix_nexttowardf
(
float
num
,
double
next
)
...
...
@@ -806,7 +793,6 @@ static const struct unix_funcs funcs =
unix_logbf
,
unix_modf
,
unix_modff
,
unix_nexttoward
,
unix_nexttowardf
,
unix_pow
,
unix_powf
,
...
...
dlls/msvcrt/unixlib.h
View file @
ac4e6759
...
...
@@ -72,7 +72,6 @@ struct unix_funcs
float
(
CDECL
*
logbf
)(
float
x
);
double
(
CDECL
*
modf
)(
double
x
,
double
*
iptr
);
float
(
CDECL
*
modff
)(
float
x
,
float
*
iptr
);
double
(
CDECL
*
nexttoward
)(
double
x
,
double
y
);
float
(
CDECL
*
nexttowardf
)(
float
x
,
double
y
);
double
(
CDECL
*
pow
)(
double
x
,
double
y
);
float
(
CDECL
*
powf
)(
float
x
,
float
y
);
...
...
include/config.h.in
View file @
ac4e6759
...
...
@@ -567,9 +567,6 @@
/* Define to 1 if you have the <net/route.h> header file. */
#undef HAVE_NET_ROUTE_H
/* Define to 1 if you have the `nexttoward' function. */
#undef HAVE_NEXTTOWARD
/* Define to 1 if you have the `nexttowardf' function. */
#undef HAVE_NEXTTOWARDF
...
...
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