fixed indentation
[libfirm] / ir / tv / fltcalc.h
index 6c45945..a5ca304 100644 (file)
@@ -1,7 +1,19 @@
+/*
+ * Project:     libFIRM
+ * File name:   ir/tv/fltcalc.h
+ * Purpose:
+ * Author:
+ * Modified by:
+ * Created:     2003
+ * CVS-ID:      $Id$
+ * Copyright:   (c) 2003 Universität Karlsruhe
+ * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ */
+
 #ifndef _FLTCALC_H_
 #define _FLTCALC_H_
 
-#include <config.h>
+#include "firm_config.h"
 
 #ifdef HAVE_LONG_DOUBLE
 /* XXX Set this via autoconf */
@@ -18,14 +30,14 @@ typedef enum {
   FC_div,   /**< divide */
   FC_neg,   /**< negate */
   FC_int,   /**< truncate to integer */
-  FC_rnd,   /**< round to integer */
+  FC_rnd   /**< round to integer */
 } fc_op_t;
 
 enum {
   FC_DEC,
   FC_HEX,
   FC_BIN,
-  FC_PACKED,
+  FC_PACKED
 };
 
 /* rounding modes */
@@ -33,7 +45,7 @@ typedef enum {
   FC_TONEAREST,
   FC_TOPOSITIVE,
   FC_TONEGATIVE,
-  FC_TOZERO,
+  FC_TOZERO
 } fc_rounding_mode_t;
 
 #define FC_DEFAULT_PRECISION 64
@@ -223,4 +235,6 @@ fc_rounding_mode_t fc_get_rounding_mode(void);
 unsigned char fc_sub_bits(const void *val, unsigned num_bit, unsigned byte_ofs);
 
 void init_fltcalc(int precision);
+void finish_fltcalc (void);
+
 #endif /* _FLTCALC_H_ */