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
b16ef779
Commit
b16ef779
authored
Dec 09, 2008
by
Ben Elliston
Committed by
Ben Elliston
Dec 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
From-SVN: r142577
parent
b4679197
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/config/dfp-bit.c
+1
-1
No files found.
gcc/ChangeLog
View file @
b16ef779
2008
-
12
-
09
Ben
Elliston
<
bje
@au
.
ibm
.
com
>
2008
-
12
-
09
Ben
Elliston
<
bje
@au
.
ibm
.
com
>
*
config
/
dfp
-
bit
.
c
(
DFP_TO_INT
)
:
Remove
unnecessary
cast
.
2008
-
12
-
09
Ben
Elliston
<
bje
@au
.
ibm
.
com
>
*
config
/
rs6000
/
darwin
-
ldouble
.
c
(
fmsub
)
:
Remove
unused
variable
,
v
.
*
config
/
rs6000
/
darwin
-
ldouble
.
c
(
fmsub
)
:
Remove
unused
variable
,
v
.
2008
-
12
-
08
Steve
Ellcey
<
sje
@cup
.
hp
.
com
>
2008
-
12
-
08
Steve
Ellcey
<
sje
@cup
.
hp
.
com
>
gcc/config/dfp-bit.c
View file @
b16ef779
...
@@ -536,7 +536,7 @@ DFP_TO_INT (DFP_C_TYPE x)
...
@@ -536,7 +536,7 @@ DFP_TO_INT (DFP_C_TYPE x)
/* Rescale if the exponent is less than zero. */
/* Rescale if the exponent is less than zero. */
decNumberToIntegralValue
(
&
n2
,
&
n1
,
&
context
);
decNumberToIntegralValue
(
&
n2
,
&
n1
,
&
context
);
/* Get a value to use for the quantize call. */
/* Get a value to use for the quantize call. */
decNumberFromString
(
&
qval
,
(
char
*
)
"1."
,
&
context
);
decNumberFromString
(
&
qval
,
"1."
,
&
context
);
/* Force the exponent to zero. */
/* Force the exponent to zero. */
decNumberQuantize
(
&
n1
,
&
n2
,
&
qval
,
&
context
);
decNumberQuantize
(
&
n1
,
&
n2
,
&
qval
,
&
context
);
/* Get a string, which at this point will not include an exponent. */
/* Get a string, which at this point will not include an exponent. */
...
...
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