summaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-16 18:23:00 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-16 18:23:00 +0000
commit805e22b2051e9c6a75377ea6599654d7415da483 (patch)
treec259697c448b0c6f548f153c48c46a8d7a75970f /gcc/real.h
parent2c27ce73ee2229b0871c4ccad2342d8a4be85eff (diff)
downloadgcc-805e22b2051e9c6a75377ea6599654d7415da483.tar.gz
Merge basic-improvements-branch to trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h
index a979cea67ac..163c283c171 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -124,6 +124,9 @@ struct real_format
/* The maximum integer, x, such that b**(x-1) is representable. */
int emax;
+ /* The bit position of the sign bit, or -1 for a complex encoding. */
+ int signbit;
+
/* Properties of the format. */
bool has_nans;
bool has_inf;
@@ -346,5 +349,9 @@ extern bool exact_real_inverse PARAMS ((enum machine_mode, REAL_VALUE_TYPE *));
/* In tree.c: wrap up a REAL_VALUE_TYPE in a tree node. */
extern tree build_real PARAMS ((tree, REAL_VALUE_TYPE));
+/* Calculate R as the square root of X in the given machine mode. */
+extern void real_sqrt PARAMS ((REAL_VALUE_TYPE *,
+ enum machine_mode,
+ const REAL_VALUE_TYPE *));
#endif /* ! GCC_REAL_H */