[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/kdewin32/src/math
From:       Carlo Segato <brandon.ml () gmail ! com>
Date:       2008-08-31 2:34:25
Message-ID: 1220150065.665649.12836.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 855060 by segato:

use fmod as a replacemente of remainder on msvc, since the glibc implementation \
causes plasma to freeze when rotating an applet

 M  +7 -1      e_remainder.c  


--- trunk/kdesupport/kdewin32/src/math/e_remainder.c #855059:855060
@@ -31,7 +31,12 @@
 /* ************************************************************************/
 
 #include <winposix_export.h>
-
+#include <math.h>
+WINPOSIX_EXPORT double remainder(double x, double y)
+{
+    return fmod(x, y);
+}
+#if 0
 /* these all assume little endian, which is safe for msvc */
 #  define HIGH_HALF 0
 #  define  LOW_HALF 1
@@ -142,3 +147,4 @@
    }
   }
 }
+#endif


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic