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
b53dcf3e
Commit
b53dcf3e
authored
Jun 02, 2004
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
Jun 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* include/std/std_complex.h (log): Tidy.
From-SVN: r82584
parent
b25a8933
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
libstdc++-v3/ChangeLog
+4
-0
libstdc++-v3/include/std/std_complex.h
+5
-2
No files found.
libstdc++-v3/ChangeLog
View file @
b53dcf3e
2004-06-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
* include/std/std_complex.h (log): Tidy.
2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (GLIBCXX_3.4.1): Add.
* config/linker-map.gnu (GLIBCXX_3.4.1): Add.
...
...
libstdc++-v3/include/std/std_complex.h
View file @
b53dcf3e
...
@@ -732,11 +732,14 @@ namespace std
...
@@ -732,11 +732,14 @@ namespace std
inline __complex__ long double
inline __complex__ long double
__complex_log(const __complex__ long double& __z)
__complex_log(const __complex__ long double& __z)
{ return __builtin_clog(__z); } */
{ return __builtin_clog
l
(__z); } */
// FIXME: Currently wer don't use built-ins for log() because of some
// obscure user name-space issues. So, we use the generic version
// which is why we don't use __z.__rep() in the call below.
template
<
typename
_Tp
>
template
<
typename
_Tp
>
inline
complex
<
_Tp
>
inline
complex
<
_Tp
>
log
(
const
complex
<
_Tp
>&
__z
)
{
return
__complex_log
(
__z
.
__rep
()
);
}
log
(
const
complex
<
_Tp
>&
__z
)
{
return
__complex_log
(
__z
);
}
template
<
typename
_Tp
>
template
<
typename
_Tp
>
inline
complex
<
_Tp
>
inline
complex
<
_Tp
>
...
...
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