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
1840f0c2
Commit
1840f0c2
authored
Aug 22, 2007
by
Janis Johnson
Committed by
Janis Johnson
Aug 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/dfp-bit.c (DFP_TO_DFP): Check for overflow.
From-SVN: r127710
parent
e2311f7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
gcc/ChangeLog
+2
-0
gcc/config/dfp-bit.c
+2
-1
No files found.
gcc/ChangeLog
View file @
1840f0c2
2007-08-22 Janis Johnson <janis187@us.ibm.com>
* config/dfp-bit.c (DFP_TO_DFP): Check for overflow.
* doc/libgcc.texi (Decimal float library routines): Fix formatting
and rearrange floating point conversion functions into different
categories.
...
...
gcc/config/dfp-bit.c
View file @
1840f0c2
...
...
@@ -414,7 +414,8 @@ DFP_TO_DFP (DFP_C_TYPE f_from)
{
/* decNumber exception flags we care about here. */
int
ieee_flags
;
int
dec_flags
=
DEC_IEEE_854_Inexact
|
DEC_IEEE_854_Invalid_operation
;
int
dec_flags
=
DEC_IEEE_854_Inexact
|
DEC_IEEE_854_Invalid_operation
|
DEC_IEEE_854_Overflow
;
dec_flags
&=
context
.
status
;
ieee_flags
=
DFP_IEEE_FLAGS
(
dec_flags
);
if
(
ieee_flags
!=
0
)
...
...
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