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
f370017e
Commit
f370017e
authored
Sep 02, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Fix complex::operator*= implementation.
parent
6b18f619
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
math.c
dlls/msvcp90/math.c
+8
-6
No files found.
dlls/msvcp90/math.c
View file @
f370017e
...
...
@@ -1162,10 +1162,11 @@ complex_float* __thiscall complex_float_mult_assign_float(complex_float *this, c
DEFINE_THISCALL_WRAPPER
(
complex_float_mult_assign
,
8
)
complex_float
*
__thiscall
complex_float_mult_assign
(
complex_float
*
this
,
const
complex_float
*
r
)
{
complex_float
tmp
=
*
this
;
complex_float
tmp
;
this
->
real
=
tmp
.
real
*
r
->
real
-
tmp
.
imag
*
r
->
imag
;
this
->
imag
=
tmp
.
real
*
r
->
imag
+
tmp
.
imag
*
r
->
real
;
tmp
.
real
=
this
->
real
*
r
->
real
-
this
->
imag
*
r
->
imag
;
tmp
.
imag
=
this
->
real
*
r
->
imag
+
this
->
imag
*
r
->
real
;
*
this
=
tmp
;
return
this
;
}
...
...
@@ -1819,10 +1820,11 @@ complex_double* __thiscall complex_double_mult_assign_double(complex_double *thi
DEFINE_THISCALL_WRAPPER
(
complex_double_mult_assign
,
8
)
complex_double
*
__thiscall
complex_double_mult_assign
(
complex_double
*
this
,
const
complex_double
*
r
)
{
complex_double
tmp
=
*
this
;
complex_double
tmp
;
this
->
real
=
tmp
.
real
*
r
->
real
-
tmp
.
imag
*
r
->
imag
;
this
->
imag
=
tmp
.
real
*
r
->
imag
+
tmp
.
imag
*
r
->
real
;
tmp
.
real
=
this
->
real
*
r
->
real
-
this
->
imag
*
r
->
imag
;
tmp
.
imag
=
this
->
real
*
r
->
imag
+
this
->
imag
*
r
->
real
;
*
this
=
tmp
;
return
this
;
}
...
...
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