aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h
index 71e3cc4..fcd7ae7 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -375,4 +375,15 @@ extern bool real_powi PARAMS ((REAL_VALUE_TYPE *,
const REAL_VALUE_TYPE *,
HOST_WIDE_INT));
+/* Standard round to integer value functions. */
+extern void real_trunc PARAMS ((REAL_VALUE_TYPE *,
+ enum machine_mode,
+ const REAL_VALUE_TYPE *));
+extern void real_floor PARAMS ((REAL_VALUE_TYPE *,
+ enum machine_mode,
+ const REAL_VALUE_TYPE *));
+extern void real_ceil PARAMS ((REAL_VALUE_TYPE *,
+ enum machine_mode,
+ const REAL_VALUE_TYPE *));
+
#endif /* ! GCC_REAL_H */