From 2e38841f29b276706da86abc763d919ddadf7e1d Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sat, 28 Jun 2008 16:59:24 +0300 Subject: [PATCH] Added SilcFloat32 and SilcFloat64, 32-bit and 64-bit floating point types --- lib/silcutil/silctypes.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lib/silcutil/silctypes.h b/lib/silcutil/silctypes.h index bd93559b..63412c3e 100644 --- a/lib/silcutil/silctypes.h +++ b/lib/silcutil/silctypes.h @@ -238,6 +238,32 @@ typedef SilcInt32 SilcInt64; * ***/ +/****d* silcutil/SilcFloat32 + * + * NAME + * + * typedef float SilcFloat32; + * + * DESCRIPTION + * + * 32-bit floating point number. + * + ***/ +typedef float SilcFloat32; + +/****d* silcutil/SilcFloat64 + * + * NAME + * + * typedef double SilcFloat64; + * + * DESCRIPTION + * + * 64-bit floating point number. + * + ***/ +typedef double SilcFloat64 + #if SILC_SIZEOF_VOID_P < 4 typedef SilcUInt32 * void *; #endif -- 2.24.0