From c2014a0a771e621cec552c6ee88daddcb46d13fe Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 21 Nov 2005 22:16:37 +0000 Subject: cyclone alpha55 (see notes.txt for cyclone and shared) svn path=/trunk/externals/miXed/; revision=4011 --- shared/shared.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'shared/shared.h') diff --git a/shared/shared.h b/shared/shared.h index a812ffe..0e60dbd 100644 --- a/shared/shared.h +++ b/shared/shared.h @@ -164,8 +164,21 @@ typedef union _shared_floatint #define SHARED_2PI 6.28318530718 #ifndef PD_BADFLOAT +#ifdef __i386__ #define PD_BADFLOAT(f) ((((*(unsigned int*)&(f))&0x7f800000)==0) || \ (((*(unsigned int*)&(f))&0x7f800000)==0x7f800000)) +#else +#define PD_BADFLOAT(f) 0 +#endif +#endif + +#ifndef PD_BIGORSMALL +#ifdef __i386__ +#define PD_BIGORSMALL(f) ((((*(unsigned int*)&(f))&0x60000000)==0) || \ + (((*(unsigned int*)&(f))&0x60000000)==0x60000000)) +#else +#define PD_BIGORSMALL(f) 0 +#endif #endif #endif -- cgit v1.2.1