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
1e4d0c4f
Commit
1e4d0c4f
authored
Jun 20, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added _Stodx implementation.
parent
0e184898
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
4 deletions
+30
-4
locale.c
dlls/msvcp90/locale.c
+26
-0
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+4
-4
No files found.
dlls/msvcp90/locale.c
View file @
1e4d0c4f
...
...
@@ -24,6 +24,7 @@
#include "locale.h"
#include "errno.h"
#include "limits.h"
#include "math.h"
#include "wine/list.h"
...
...
@@ -3871,6 +3872,31 @@ basic_string_wchar* __thiscall numpunct_wchar_truename(const numpunct_wchar *thi
return
call_numpunct_wchar_do_truename
(
this
,
ret
);
}
double
__cdecl
_Stod
(
const
char
*
buf
,
char
**
buf_end
,
LONG
exp
)
{
double
ret
=
strtod
(
buf
,
buf_end
);
if
(
exp
)
ret
*=
pow
(
10
,
exp
);
return
ret
;
}
double
__cdecl
_Stodx
(
const
char
*
buf
,
char
**
buf_end
,
LONG
exp
,
int
*
err
)
{
double
ret
;
*
err
=
*
_errno
();
*
_errno
()
=
0
;
ret
=
_Stod
(
buf
,
buf_end
,
exp
);
if
(
*
_errno
())
{
*
err
=
*
_errno
();
}
else
{
*
_errno
()
=
*
err
;
*
err
=
0
;
}
return
ret
;
}
/* ?id@?$num_get@_WV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@2V0locale@2@A */
locale_id
num_get_wchar_id
=
{
0
};
/* ?id@?$num_get@GV?$istreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@2V0locale@2@A */
...
...
dlls/msvcp90/msvcp90.spec
View file @
1e4d0c4f
...
...
@@ -5783,12 +5783,12 @@
# extern _Rteps
@ stub _Sinh
@ extern _Snan
@
stub _Stod
@
stub _Stodx
@
cdecl _Stod(ptr ptr long)
@
cdecl _Stodx(ptr ptr long ptr)
@ stub _Stof
@ stub _Stofx
@
stub _Stol
d
@
stub _Stol
dx
@
cdecl _Stold(ptr ptr long) _Sto
d
@
cdecl _Stoldx(ptr ptr long ptr) _Sto
dx
@ stub _Stoll
@ stub _Stollx
@ stub _Stolx
...
...
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