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
1ab106cd
Commit
1ab106cd
authored
May 16, 2004
by
Steve Kargl
Committed by
Paul Brook
May 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* arith.c: Fix comment typos.
From-SVN: r81912
parent
861464a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/arith.c
+4
-4
No files found.
gcc/fortran/ChangeLog
View file @
1ab106cd
2004-05-16 Steve Kargl <sgk@troutmask.apl.washington.edu>
* arith.c: Fix comment typos.
2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13742
PR fortran/13742
...
...
gcc/fortran/arith.c
View file @
1ab106cd
...
@@ -87,7 +87,7 @@ int gfc_index_integer_kind;
...
@@ -87,7 +87,7 @@ int gfc_index_integer_kind;
We first get the argument into the range 0.5 to 1.5 by successive
We first get the argument into the range 0.5 to 1.5 by successive
multiplications or divisions by e. Then we use the series:
multiplications or divisions by e. Then we use the series:
ln(x) = (x-1) - (x-1)^/2 + (x-1)^3/3 - (x-1)^4/4 + ...
ln(x) = (x-1) - (x-1)^
2
/2 + (x-1)^3/3 - (x-1)^4/4 + ...
Because we are expanding in powers of (x-1), and 0.5 < x < 1.5, we
Because we are expanding in powers of (x-1), and 0.5 < x < 1.5, we
have -0.5 < (x-1) < 0.5. Ignoring the harmonic term, this means
have -0.5 < (x-1) < 0.5. Ignoring the harmonic term, this means
...
@@ -179,7 +179,7 @@ common_logarithm (mpf_t * arg, mpf_t * result)
...
@@ -179,7 +179,7 @@ common_logarithm (mpf_t * arg, mpf_t * result)
x = Nln2 + r
x = Nln2 + r
Then we obtain exp(r) from the M
cL
aurin series.
Then we obtain exp(r) from the M
acl
aurin series.
exp(x) is then recovered from the identity
exp(x) is then recovered from the identity
exp(x) = 2^N*exp(r). */
exp(x) = 2^N*exp(r). */
...
@@ -266,7 +266,7 @@ exponential (mpf_t * arg, mpf_t * result)
...
@@ -266,7 +266,7 @@ exponential (mpf_t * arg, mpf_t * result)
x= N*2pi + r
x= N*2pi + r
Then we obtain sin(r) from the M
cL
aurin series. */
Then we obtain sin(r) from the M
acl
aurin series. */
void
void
sine
(
mpf_t
*
arg
,
mpf_t
*
result
)
sine
(
mpf_t
*
arg
,
mpf_t
*
result
)
...
@@ -1173,7 +1173,7 @@ gfc_arith_neqv (gfc_expr * op1, gfc_expr * op2, gfc_expr ** resultp)
...
@@ -1173,7 +1173,7 @@ gfc_arith_neqv (gfc_expr * op1, gfc_expr * op2, gfc_expr ** resultp)
/* Make sure a constant numeric expression is within the range for
/* Make sure a constant numeric expression is within the range for
it
'
s type and kind. Note that there's also a gfc_check_range(),
its type and kind. Note that there's also a gfc_check_range(),
but that one deals with the intrinsic RANGE function. */
but that one deals with the intrinsic RANGE function. */
arith
arith
...
...
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