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
281bb5e4
Commit
281bb5e4
authored
Mar 09, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(target_negative): -0 counts as negative.
From-SVN: r6735
parent
b9b5c1b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
gcc/real.c
+2
-7
No files found.
gcc/real.c
View file @
281bb5e4
...
@@ -824,19 +824,14 @@ target_isnan (x)
...
@@ -824,19 +824,14 @@ target_isnan (x)
/* Check for a negative REAL_VALUE_TYPE number.
/* Check for a negative REAL_VALUE_TYPE number.
*
this means strictly less than zero, not -0
.
*
This just checks the sign bit, so that -0 counts as negative
.
*/
*/
int
int
target_negative
(
x
)
target_negative
(
x
)
REAL_VALUE_TYPE
x
;
REAL_VALUE_TYPE
x
;
{
{
unsigned
EMUSHORT
e
[
NE
];
return
ereal_isneg
(
x
);
GET_REAL
(
&
x
,
e
);
if
(
ecmp
(
e
,
ezero
)
==
-
1
)
return
(
1
);
return
(
0
);
}
}
/* Expansion of REAL_VALUE_TRUNCATE.
/* Expansion of REAL_VALUE_TRUNCATE.
...
...
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