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
e95dbb3b
Commit
e95dbb3b
authored
Mar 24, 2015
by
Zheng Chen
Committed by
Alexandre Julliard
Mar 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Correct atan/exp/tanh errno setting.
parent
1b93c010
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
math.c
dlls/msvcrt/math.c
+3
-3
No files found.
dlls/msvcrt/math.c
View file @
e95dbb3b
...
...
@@ -363,7 +363,7 @@ double CDECL MSVCRT_asin( double x )
*/
double
CDECL
MSVCRT_atan
(
double
x
)
{
if
(
!
isfinite
(
x
))
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
if
(
isnan
(
x
))
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
return
atan
(
x
);
}
...
...
@@ -399,7 +399,7 @@ double CDECL MSVCRT_cosh( double x )
*/
double
CDECL
MSVCRT_exp
(
double
x
)
{
if
(
!
isfinite
(
x
))
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
if
(
isnan
(
x
))
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
return
exp
(
x
);
}
...
...
@@ -484,7 +484,7 @@ double CDECL MSVCRT_tan( double x )
*/
double
CDECL
MSVCRT_tanh
(
double
x
)
{
if
(
!
isfinite
(
x
))
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
if
(
isnan
(
x
))
*
MSVCRT__errno
()
=
MSVCRT_EDOM
;
return
tanh
(
x
);
}
...
...
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