fix rbitset_is_empty; put opening brace of functions on an own line
[libfirm] / include / libfirm / tv.h
index a5ff791..3b821b6 100644 (file)
@@ -788,10 +788,19 @@ unsigned tarval_ieee754_set_immediate_precision(unsigned bits);
  */
 unsigned tarval_ieee754_get_exact(void);
 
+/**
+ * Return the size of the mantissa in bits (including possible
+ * implicit bits) for the given mode.
+ */
+unsigned tarval_ieee754_get_mantissa_size(const ir_mode *mode);
+
 /**
  * Enable/Disable floating point constant folding.
  */
-int tarval_enable_fp_ops(int enable);
+void tarval_enable_fp_ops(int enable);
+
+/** returns 0/1 if floating point folding is enable/disabled */
+int tarval_fp_ops_enabled(void);
 
 /**
  * Check if its the a floating point NaN.