Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
94da0343
Commit
94da0343
authored
Jan 24, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added std::conj(complex) implementation.
parent
2e4eb122
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
6 deletions
+26
-6
math.c
dlls/msvcp90/math.c
+20
-0
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+6
-6
No files found.
dlls/msvcp90/math.c
View file @
94da0343
...
...
@@ -1303,6 +1303,15 @@ float __cdecl complex_float_abs(const complex_float *c)
return
hypotf
(
c
->
real
,
c
->
imag
);
}
/* ??$conj@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
/* ??$conj@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
complex_float
*
__cdecl
complex_float_conj
(
complex_float
*
ret
,
const
complex_float
*
c
)
{
ret
->
real
=
c
->
real
;
ret
->
imag
=
-
c
->
imag
;
return
ret
;
}
/* ??0?$_Complex_base@NU_C_double_complex@@@std@@QAE@ABN0@Z */
/* ??0?$_Complex_base@NU_C_double_complex@@@std@@QEAA@AEBN0@Z */
/* ??0?$_Complex_base@OU_C_ldouble_complex@@@std@@QAE@ABO0@Z */
...
...
@@ -1800,3 +1809,14 @@ double __cdecl complex_double_abs(const complex_double *c)
{
return
hypot
(
c
->
real
,
c
->
imag
);
}
/* ??$conj@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
/* ??$conj@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
/* ??$conj@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
/* ??$conj@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
complex_double
*
__cdecl
complex_double_conj
(
complex_double
*
ret
,
const
complex_double
*
c
)
{
ret
->
real
=
c
->
real
;
ret
->
imag
=
-
c
->
imag
;
return
ret
;
}
dlls/msvcp90/msvcp90.spec
View file @
94da0343
...
...
@@ -362,12 +362,12 @@
@ cdecl -arch=win64 ??$arg@N@std@@YANAEBV?$complex@N@0@@Z(ptr) complex_double_arg
@ cdecl -arch=win32 ??$arg@O@std@@YAOABV?$complex@O@0@@Z(ptr) complex_double_arg
@ cdecl -arch=win64 ??$arg@O@std@@YAOAEBV?$complex@O@0@@Z(ptr) complex_double_arg
@
stub -arch=win32 ??$conj@M@std@@YA?AV?$complex@M@0@ABV10@@Z
@
stub -arch=win64 ??$conj@M@std@@YA?AV?$complex@M@0@AEBV10@@Z
@
stub -arch=win32 ??$conj@N@std@@YA?AV?$complex@N@0@ABV10@@Z
@
stub -arch=win64 ??$conj@N@std@@YA?AV?$complex@N@0@AEBV10@@Z
@
stub -arch=win32 ??$conj@O@std@@YA?AV?$complex@O@0@ABV10@@Z
@
stub -arch=win64 ??$conj@O@std@@YA?AV?$complex@O@0@AEBV10@@Z
@
cdecl -arch=win32 ??$conj@M@std@@YA?AV?$complex@M@0@ABV10@@Z(ptr ptr) complex_float_conj
@
cdecl -arch=win64 ??$conj@M@std@@YA?AV?$complex@M@0@AEBV10@@Z(ptr ptr) complex_float_conj
@
cdecl -arch=win32 ??$conj@N@std@@YA?AV?$complex@N@0@ABV10@@Z(ptr ptr) complex_double_conj
@
cdecl -arch=win64 ??$conj@N@std@@YA?AV?$complex@N@0@AEBV10@@Z(ptr ptr) complex_double_conj
@
cdecl -arch=win32 ??$conj@O@std@@YA?AV?$complex@O@0@ABV10@@Z(ptr ptr) complex_double_conj
@
cdecl -arch=win64 ??$conj@O@std@@YA?AV?$complex@O@0@AEBV10@@Z(ptr ptr) complex_double_conj
@ stub -arch=win32 ??$cos@M@std@@YA?AV?$complex@M@0@ABV10@@Z
@ stub -arch=win64 ??$cos@M@std@@YA?AV?$complex@M@0@AEBV10@@Z
@ stub -arch=win32 ??$cos@N@std@@YA?AV?$complex@N@0@ABV10@@Z
...
...
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