]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 10 May 2010 12:56:29 +0000 (12:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 10 May 2010 12:56:29 +0000 (12:56 +0000)
magick/quantum-private.h

index 3b7247f247d12a8716d7d3578a100c51186453bc..6704fbe645fe481e21945bf8284a230841b9e035 100644 (file)
@@ -129,21 +129,21 @@ static inline float HalfToSinglePrecision(const unsigned short half)
   significand=(unsigned int) (half & 0x000003ff);
   if (exponent == 0)
     {
-       if (significand == 0)
+      if (significand == 0)
         value=sign_bit << SignBitShift;
-           else
-             {
+      else
+        {
           while ((significand & SignificandMask) == 0)
           {
             significand<<=1;
             exponent--;
           }
-               exponent++;
+          exponent++;
           significand&=(~SignificandMask);
           exponent+=ExponentBias;
           value=(sign_bit << SignBitShift) | (exponent << ExponentShift) |
             (significand << SignificandShift);
-               }
+        }
     }
   else
     if (exponent == SignBitShift)