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
403cd5d7
Commit
403cd5d7
authored
May 16, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change arg from long to
HOST_WIDE_INT. From-SVN: r7311
parent
8e1e69c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/real.h
+5
-4
No files found.
gcc/real.h
View file @
403cd5d7
...
...
@@ -148,8 +148,8 @@ extern long etarsingle PROTO((REAL_VALUE_TYPE));
extern
void
ereal_to_decimal
PROTO
((
REAL_VALUE_TYPE
,
char
*
));
extern
int
ereal_cmp
PROTO
((
REAL_VALUE_TYPE
,
REAL_VALUE_TYPE
));
extern
int
ereal_isneg
PROTO
((
REAL_VALUE_TYPE
));
extern
REAL_VALUE_TYPE
ereal_from_float
PROTO
((
unsigned
long
));
extern
REAL_VALUE_TYPE
ereal_from_double
PROTO
((
unsigned
long
*
));
extern
REAL_VALUE_TYPE
ereal_from_float
PROTO
((
HOST_WIDE_INT
));
extern
REAL_VALUE_TYPE
ereal_from_double
PROTO
((
HOST_WIDE_INT
*
));
#define REAL_VALUES_EQUAL(x, y) (ereal_cmp ((x), (y)) == 0)
/* true if x < y : */
...
...
@@ -194,10 +194,11 @@ extern REAL_VALUE_TYPE real_value_truncate ();
/* IN is a REAL_VALUE_TYPE. OUT is a long. */
#define REAL_VALUE_TO_TARGET_SINGLE(IN, OUT) ((OUT) = etarsingle ((IN)))
/* d is an array of longs. */
/* d is an array of HOST_WIDE_INT that holds a double precision
value in the target computer's floating point format. */
#define REAL_VALUE_FROM_TARGET_DOUBLE(d) (ereal_from_double (d))
/* f is a
long
. */
/* f is a
HOST_WIDE_INT containing a single precision target float value
. */
#define REAL_VALUE_FROM_TARGET_SINGLE(f) (ereal_from_float (f))
/* Conversions to decimal ASCII string. */
...
...
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