Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6e124e38
Commit
6e124e38
authored
Nov 08, 2000
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
Nov 08, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* include/bits/std_complex.h (conj): Undo double removal.
From-SVN: r37311
parent
66234570
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
libstdc++-v3/ChangeLog
+4
-0
libstdc++-v3/include/bits/std_complex.h
+5
-0
No files found.
libstdc++-v3/ChangeLog
View file @
6e124e38
2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
* include/bits/std_complex.h (conj): Undo double removal.
2000-11-06 Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
...
...
libstdc++-v3/include/bits/std_complex.h
View file @
6e124e38
...
...
@@ -913,6 +913,11 @@ namespace std
polar
(
const
_Tp
&
__rho
,
const
_Tp
&
__theta
)
{
return
complex
<
_Tp
>
(
__rho
*
cos
(
__theta
),
__rho
*
sin
(
__theta
));
}
template
<
typename
_Tp
>
inline
complex
<
_Tp
>
conj
(
const
complex
<
_Tp
>&
__z
)
{
return
complex
<
_Tp
>
(
__z
.
real
(),
-
__z
.
imag
());
}
// // We use here a few more specializations.
// template<>
// inline complex<float>
...
...
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