Revision: 6016
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6016&view=rev
Author:   efiring
Date:     2008-08-10 23:49:21 +0000 (Sun, 10 Aug 2008)

Log Message:
-----------
Fix MPL_notisfinite64

Modified Paths:
--------------
    trunk/matplotlib/src/MPL_isnan.h

Modified: trunk/matplotlib/src/MPL_isnan.h
===================================================================
--- trunk/matplotlib/src/MPL_isnan.h    2008-08-09 16:26:16 UTC (rev 6015)
+++ trunk/matplotlib/src/MPL_isnan.h    2008-08-10 23:49:21 UTC (rev 6016)
@@ -73,10 +73,10 @@
 #if !defined(MPL_notisfinite64)
 #if !defined(_MSC_VER)
 #define MPL_notisfinite64(u) \
-  ( (( MPL_U64(u) & 0x7ff0000000000000LL)  != 0x7ff0000000000000LL)) ? 0:1
+  ( (( MPL_U64(u) & 0x7ff0000000000000LL)  == 0x7ff0000000000000LL)) ? 1:0
 #else
 #define MPL_notisfinite64(u) \
-  ( (( MPL_U64(u) & 0x7ff0000000000000i64) != 0x7ff0000000000000i64)) ? 0:1
+  ( (( MPL_U64(u) & 0x7ff0000000000000i64) == 0x7ff0000000000000i64)) ? 1:0
 #endif
 #endif /* MPL_notisfinite64 */
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to