summaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-19 06:04:22 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-19 06:04:22 +0000
commit307e368b5c81ae0a71278e30bc63eb00e276b383 (patch)
tree8c47dbfc2c004c1acef4c68dd743777bd8605a06 /gcc/real.h
parent7811991d015679f79068872ce32cab8b31907713 (diff)
downloadgcc-307e368b5c81ae0a71278e30bc63eb00e276b383.tar.gz
* gengenrtl.c: Add prototype for excluded_rtx.
* real.h: Add prototype for exact_real_truncate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53607 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h
index 3de905dfddf..4b59378808f 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -180,6 +180,11 @@ extern REAL_VALUE_TYPE ereal_from_double PARAMS ((HOST_WIDE_INT *));
extern REAL_VALUE_TYPE real_value_truncate PARAMS ((enum machine_mode,
REAL_VALUE_TYPE));
+/* Expansion of REAL_VALUE_TRUNCATE.
+ The result is in floating point, rounded to nearest or even. */
+extern bool exact_real_truncate PARAMS ((enum machine_mode,
+ REAL_VALUE_TYPE *));
+
/* These return HOST_WIDE_INT: */
/* Convert a floating-point value to integer, rounding toward zero. */
#define REAL_VALUE_FIX(x) (efixi (x))