Message132763
| 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:43 | Eli.Stevens | set | recipients:
+ Eli.Stevens, mark.dickinson, mark.wiebe |
| 2011年04月01日 19:01:43 | Eli.Stevens | set | messageid: <1301684503.25.0.16694526201.issue11734@psf.upfronthosting.co.za> |
| 2011年04月01日 19:01:42 | Eli.Stevens | link | issue11734 messages |
| 2011年04月01日 19:01:42 | Eli.Stevens | create |
|