]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/real.h
Merge basic-improvements-branch to trunk
[thirdparty/gcc.git] / gcc / real.h
index a979cea67ac1a3265722d49194dbe5aa345a1103..163c283c1719ad03cd2a62ea85a40b3f94ea7469 100644 (file)
@@ -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 */