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
1a79c401
Commit
1a79c401
authored
Jun 22, 2001
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
Jun 22, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* libmath/stubs.c (tanhf): Fix typo.
From-SVN: r43502
parent
dbd52dc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
libstdc++-v3/ChangeLog
+2
-0
libstdc++-v3/libmath/stubs.c
+11
-11
No files found.
libstdc++-v3/ChangeLog
View file @
1a79c401
2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* libmath/stubs.c: New file.
(tanhf): Fix typo.
* libmath/Makefile.am (libmath_la_SOURCES): Add.
* libmath/Makefile.in. Regenerate.
...
...
libstdc++-v3/libmath/stubs.c
View file @
1a79c401
...
...
@@ -31,7 +31,7 @@
#include <bits/c++config.h>
#if !defined(_GLIBCPP_HAVE_COSF) && !defined(_GLIBCPP_HAVE___BUILTIN_COSF)
extern
float
float
cosf
(
float
x
)
{
return
(
float
)
cos
(
x
);
...
...
@@ -39,7 +39,7 @@ cosf(float x)
#endif
#ifndef _GLIBCPP_HAVE_COSHF
extern
float
float
coshf
(
float
x
)
{
return
(
float
)
cosh
(
x
);
...
...
@@ -47,7 +47,7 @@ coshf(float x)
#endif
#ifndef _GLIBCPP_HAVE_EXPF
extern
float
float
expf
(
float
x
)
{
return
(
float
)
exp
(
x
);
...
...
@@ -55,7 +55,7 @@ expf(float x)
#endif
#ifndef _GLIBCPP_HAVE_LOGF
extern
float
float
logf
(
float
x
)
{
return
(
float
)
log
(
x
);
...
...
@@ -63,7 +63,7 @@ logf(float x)
#endif
#ifndef _GLIBCPP_HAVE_LOG10F
extern
float
float
log10f
(
float
x
)
{
return
(
float
)
log10
(
x
);
...
...
@@ -71,7 +71,7 @@ log10f(float x)
#endif
#ifndef _GLIBCPP_HAVE_POWF
extern
float
float
powf
(
float
x
)
{
return
(
float
)
pow
(
x
);
...
...
@@ -79,7 +79,7 @@ powf(float x)
#endif
#if !defined(_GLIBCPP_HAVE_SINF) && !defined(_GLIBCPP_HAVE___BUILTIN_SINF)
extern
float
float
sinf
(
float
x
)
{
return
(
float
)
sin
(
x
);
...
...
@@ -87,7 +87,7 @@ sinf(float x)
#endif
#ifndef _GLIBCPP_HAVE_SINHF
extern
float
float
sinhf
(
float
x
)
{
return
(
float
)
sinh
(
x
);
...
...
@@ -95,7 +95,7 @@ sinhf(float x)
#endif
#ifndef _GLIBCPP_HAVE_TANF
extern
float
float
tanf
(
float
x
)
{
return
(
float
)
tanf
(
x
);
...
...
@@ -103,9 +103,9 @@ tanf(float x)
#endif
#ifndef _GLIBCPP_HAVE_TANHF
extern
float
float
tanhf
(
float
x
)
{
return
(
float
)
tanh
f
(
x
);
return
(
float
)
tanh
(
x
);
}
#endif
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