aboutsummaryrefslogtreecommitdiff
path: root/include/extlib_util.h
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-01-27 17:06:07 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-01-27 17:06:07 +0000
commit968e313857743435e662c831a8b29f50b20e0d41 (patch)
tree3c120456d9378257942767bf0d360932991fa5e3 /include/extlib_util.h
parent7f5bcf8ad536a674ba6f626e1a11ebd660fdec24 (diff)
creb 0.7
svn path=/trunk/externals/creb/; revision=364
Diffstat (limited to 'include/extlib_util.h')
-rw-r--r--include/extlib_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/extlib_util.h b/include/extlib_util.h
index 259d944..6e4d94b 100644
--- a/include/extlib_util.h
+++ b/include/extlib_util.h
@@ -29,3 +29,6 @@
/* convert milliseconds to 1-p, with p a real pole */
float milliseconds_2_one_minus_realpole(float time);
+
+/* check if floating point number is denormal */
+#define IS_DENORMAL(f) (((*(unsigned int *)&(f))&0x7f800000) == 0)