From: Kbwms Message-ID: <7058bf47.3540f439@aol.com> Date: Fri, 24 Apr 1998 16:21:10 EDT To: djgpp AT delorie DOT com Mime-Version: 1.0 Subject: Running paranoia in Single Mode Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Precedence: bulk In looking through paranoia.c to find out how to make a run on the 24-bit functions, I noticed the following: #ifdef Single #define FLOAT float #define FABS(x) (float)fabs((double)(x)) #define FLOOR(x) (float)floor((double)(x)) #define LOG(x) (float)log((double)(x)) #define POW(x,y) (float)pow((double)(x),(double)(y)) #define SQRT(x) (float)sqrt((double)(x)) This block shows that functions of type double are used when running in Single mode. To properly check the arithmetic, this code should be changed to reference functions of type float: #ifdef Single #define FLOAT float #define FABS(x) fabsf((x)) #define FLOOR(x) floorf((x)) #define LOG(x) logf((x)) #define POW(x,y) powf((x),(y)) #define SQRT(x) sqrtf((x)) K.B. Williams