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
bfd0866b
Commit
bfd0866b
authored
Apr 01, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added implementation of _controlfp_s.
parent
abb74600
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
3 deletions
+24
-3
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
math.c
dlls/msvcrt/math.c
+21
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcr80/msvcr80.spec
View file @
bfd0866b
...
...
@@ -327,7 +327,7 @@
@ stub _configthreadlocale
@ cdecl _control87(long long) msvcrt._control87
@ cdecl _controlfp(long long) msvcrt._controlfp
@
stub
_controlfp_s
@
cdecl _controlfp_s(ptr long long) msvcrt.
_controlfp_s
@ cdecl _copysign( double double ) msvcrt._copysign
@ varargs _cprintf(str) msvcrt._cprintf
@ stub _cprintf_l
...
...
dlls/msvcr90/msvcr90.spec
View file @
bfd0866b
...
...
@@ -319,7 +319,7 @@
@ stub _configthreadlocale
@ cdecl _control87(long long) msvcrt._control87
@ cdecl _controlfp(long long) msvcrt._controlfp
@
stub
_controlfp_s
@
cdecl _controlfp_s(ptr long long) msvcrt.
_controlfp_s
@ cdecl _copysign( double double ) msvcrt._copysign
@ varargs _cprintf(str) msvcrt._cprintf
@ stub _cprintf_l
...
...
dlls/msvcrt/math.c
View file @
bfd0866b
...
...
@@ -702,6 +702,27 @@ unsigned int CDECL _controlfp(unsigned int newval, unsigned int mask)
}
/*********************************************************************
* _controlfp_s (MSVCRT.@)
*/
int
CDECL
_controlfp_s
(
unsigned
int
*
cur
,
unsigned
int
newval
,
unsigned
int
mask
)
{
unsigned
int
flags
;
#ifdef __i386__
FIXME
(
"(%p %u %u) semi-stub
\n
"
,
cur
,
newval
,
mask
);
flags
=
_control87
(
newval
,
mask
&
~
MSVCRT__EM_DENORMAL
);
if
(
cur
)
*
cur
=
flags
;
return
0
;
#else
FIXME
(
":Not Implemented!
\n
"
);
return
0
;
#endif
}
/*********************************************************************
* _copysign (MSVCRT.@)
*/
double
CDECL
_copysign
(
double
num
,
double
sign
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
bfd0866b
...
...
@@ -299,7 +299,7 @@
@ extern _commode MSVCRT__commode
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
# stub _controlfp_s
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign( double double )
@ varargs _cprintf(str)
# stub _cprintf_l
...
...
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