diff options
author | Tom Schouten <doelie@users.sourceforge.net> | 2003-01-27 17:06:07 +0000 |
---|---|---|
committer | Tom Schouten <doelie@users.sourceforge.net> | 2003-01-27 17:06:07 +0000 |
commit | 968e313857743435e662c831a8b29f50b20e0d41 (patch) | |
tree | 3c120456d9378257942767bf0d360932991fa5e3 /include | |
parent | 7f5bcf8ad536a674ba6f626e1a11ebd660fdec24 (diff) |
creb 0.7
svn path=/trunk/externals/creb/; revision=364
Diffstat (limited to 'include')
-rw-r--r-- | include/extlib_util.h | 3 |
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) |