projects
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9814143
)
Added SilcFloat32 and SilcFloat64, 32-bit and 64-bit floating point types
author
Pekka Riikonen
<priikone@silcnet.org>
Sat, 28 Jun 2008 13:59:24 +0000
(16:59 +0300)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sat, 28 Jun 2008 13:59:24 +0000
(16:59 +0300)
lib/silcutil/silctypes.h
patch
|
blob
|
history
diff --git
a/lib/silcutil/silctypes.h
b/lib/silcutil/silctypes.h
index bd93559bbb53f33fb655e33c69b6227af54bbc19..63412c3eaf05bdef72a2225cd8623150378fc6e1 100644
(file)
--- 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