From 968e313857743435e662c831a8b29f50b20e0d41 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Mon, 27 Jan 2003 17:06:07 +0000 Subject: creb 0.7 svn path=/trunk/externals/creb/; revision=364 --- include/extlib_util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/extlib_util.h') 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) -- cgit v1.2.1