diff options
author | musil <tmusil@users.sourceforge.net> | 2006-11-28 18:56:01 +0000 |
---|---|---|
committer | musil <tmusil@users.sourceforge.net> | 2006-11-28 18:56:01 +0000 |
commit | dda182c3ed3180554627f99b5971b674a96373c3 (patch) | |
tree | 5d9c6ea97c31b8e2a3c47f124dc5f7f5df856b74 /src/iemlib.h | |
parent | 767ef29fd3167254cf574c7e985dad6983e5acdb (diff) |
changed float to t_float
-fno-strict-aliasing
#pragma obsolete
svn path=/trunk/externals/iem/iem_bin_ambi/; revision=6501
Diffstat (limited to 'src/iemlib.h')
-rw-r--r-- | src/iemlib.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/iemlib.h b/src/iemlib.h index c71b0ed..6be2de0 100644 --- a/src/iemlib.h +++ b/src/iemlib.h @@ -1,7 +1,7 @@ /* For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. -iemlib.h written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */ +iemlib written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */ #ifndef __IEMLIB_H__ #define __IEMLIB_H__ @@ -95,8 +95,14 @@ union tabfudge int32 tf_i[2]; }; +#ifdef __i386__ #define IEM_DENORMAL(f) ((((*(unsigned int*)&(f))&0x60000000)==0) || \ (((*(unsigned int*)&(f))&0x60000000)==0x60000000)) /* more stringent test: anything not between 1e-19 and 1e19 in absolute val */ +#else + +#define IEM_DENORMAL(f) 0 + +#endif #endif |