From: Pekka Riikonen Date: Sat, 28 Jun 2008 13:59:24 +0000 (+0300) Subject: Added SilcFloat32 and SilcFloat64, 32-bit and 64-bit floating point types X-Git-Tag: 1.2.beta4~2 X-Git-Url: http://git.silcnet.org/gitweb/?p=runtime.git;a=commitdiff_plain;h=2e38841f29b276706da86abc763d919ddadf7e1d Added SilcFloat32 and SilcFloat64, 32-bit and 64-bit floating point types --- 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