From: Mathieu Desnoyers Date: Sun, 25 Sep 2011 03:00:29 +0000 (-0400) Subject: Only support single- and double-precision floating point numbers for now X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d3ed854b870fc2596ce97946e029476c00e4a36e;p=ust.git Only support single- and double-precision floating point numbers for now Signed-off-by: Mathieu Desnoyers --- diff --git a/include/ust/lttng-events.h b/include/ust/lttng-events.h index 005bf0d..ea7b87e 100644 --- a/include/ust/lttng-events.h +++ b/include/ust/lttng-events.h @@ -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) \ { \