This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Eli.Stevens
Recipients Eli.Stevens, mark.dickinson, mark.wiebe
Date 2011-04-01.19:01:42
SpamBayes Score 3.2601484e-08
Marked as misclassified No
Message-id <1301684503.25.0.16694526201.issue11734@psf.upfronthosting.co.za>
In-reply-to
Content
I've spelled "HAS_INT64_TYPE" as follows:

+#if SIZEOF_LONG == 8 || SIZEOF_LONG_LONG == 8
+#if SIZEOF_LONG == 8
+    typedef unsigned long npy_uint64;
+#else
+#if SIZEOF_LONG_LONG == 8
+    typedef unsigned long long npy_uint64;
+#endif
+#endif
...

I left the Unpack2 function using floats, since there's no rounding issues there, and it didn't feel like the extra code complexity was justified.  If there's disagreement on that point, I can make a similar change for Unpack2.
History
Date User Action Args
2011-04-01 19:01:43Eli.Stevenssetrecipients: + Eli.Stevens, mark.dickinson, mark.wiebe
2011-04-01 19:01:43Eli.Stevenssetmessageid: <1301684503.25.0.16694526201.issue11734@psf.upfronthosting.co.za>
2011-04-01 19:01:42Eli.Stevenslinkissue11734 messages
2011-04-01 19:01:42Eli.Stevenscreate