Only support single- and double-precision floating point numbers for now
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Sep 2011 03:00:29 +0000 (23:00 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Sep 2011 03:00:29 +0000 (23:00 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/lttng-events.h

index 005bf0d26013831a3295be6c0a5d65d7cdff6956..ea7b87e655c244fbcc900c93fa31e80e0bf22336 100644 (file)
@@ -72,11 +72,14 @@ struct lttng_integer_type {
        enum lttng_string_encodings encoding;
 };
 
+/*
+ * Only float and double are supported. long double is not supported at
+ * the moment.
+ */
 #define _float_mant_dig(_type)                                         \
        (sizeof(_type) == sizeof(float) ? FLT_MANT_DIG                  \
                : (sizeof(_type) == sizeof(double) ? DBL_MANT_DIG       \
-               : (sizeof(_type) == sizeof(long double) ? LDBL_MANT_DIG \
-               : 0)))
+               : 0))
 
 #define __type_float(_type)                                    \
        {                                                       \
This page took 0.024244 seconds and 4 git commands to generate.