Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move xbt_maxmin_float_t and xbt_heap_float_t here
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2004 17:58:22 +0000 (17:58 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2004 17:58:22 +0000 (17:58 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@543 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/misc.h

index f4f2d36..af16b98 100644 (file)
@@ -48,6 +48,15 @@ typedef struct {
 typedef   void (void_f_ppvoid_t)(void**);
 typedef   void (void_f_pvoid_t) (void*);
 
+/* The following two definitions concern the type of the keys used for
+   the heaps. That should be handled via configure (FIXME). */
+typedef long double xbt_heap_float_t;
+#define XBT_HEAP_FLOAT_T "%Lg" /* for printing purposes */
+
+typedef long double xbt_maxmin_float_t;
+#define XBT_MAXMIN_FLOAT_T "%Lg"       /* for printing purposes */
+
+
 END_DECL
 
 #endif /* XBT_MISC_H */