Hi Anto, On Mon, Jun 6, 2011 at 8:58 PM, Antonio Cuni <anto.c...@gmail.com> wrote: > speaking of portability, what about using sizeof(double)/sizeof(char) instead > of hardcoding 8?
That change was not about portability, but about C compilers getting too clever at optimizing. These two functions are (supposed) to be only used on machines with 8-byte long longs and doubles. I could add an assert, checking that sizeof(double) == sizeof(long long) == 8. Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev