diff src/video/e_log.h @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children
line wrap: on
line diff
--- a/src/video/e_log.h	Mon May 29 03:53:21 2006 +0000
+++ b/src/video/e_log.h	Mon May 29 04:04:35 2006 +0000
@@ -85,10 +85,10 @@
 
 #ifdef __STDC__
 double
-__ieee754_log (double x)
+__ieee754_log(double x)
 #else
 double
-__ieee754_log (x)
+__ieee754_log(x)
      double x;
 #endif
 {
@@ -96,7 +96,7 @@
     int32_t k, hx, i, j;
     u_int32_t lx;
 
-    EXTRACT_WORDS (hx, lx, x);
+    EXTRACT_WORDS(hx, lx, x);
 
     k = 0;
     if (hx < 0x00100000) {      /* x < 2**-1022  */
@@ -106,14 +106,14 @@
             return (x - x) / zero;      /* log(-#) = NaN */
         k -= 54;
         x *= two54;             /* subnormal number, scale up x */
-        GET_HIGH_WORD (hx, x);
+        GET_HIGH_WORD(hx, x);
     }
     if (hx >= 0x7ff00000)
         return x + x;
     k += (hx >> 20) - 1023;
     hx &= 0x000fffff;
     i = (hx + 0x95f64) & 0x100000;
-    SET_HIGH_WORD (x, hx | (i ^ 0x3ff00000));   /* normalize x or x/2 */
+    SET_HIGH_WORD(x, hx | (i ^ 0x3ff00000));    /* normalize x or x/2 */
     k += (i >> 20);
     f = x - 1.0;
     if ((0x000fffff & (2 + hx)) < 3) {  /* |f| < 2**-20 */