Skip to content
Prev 33612 / 63424 Next

(PR#13789) possible agrep bug; R 2.9.1, Mac OS X 10.5

It transpires this had nothing to do with 'Mac OS X 10.5' (sic, 'ten 
ten'): it is a 32-bit vs 64-bit issue, and I could not reproduce it 
even on Mac OS 10.5 with a 64-bit build.

The difference is simply the size of 'long' used for internal 
calculations in the apse.c code, and it seems that has a bug in that 
it silently overflows.  I'm not going looking for that bug (patches 
welcome ...) but I will arrange that 64-bit longs are used on 32-bit 
platforms, including in the upcoming 2.9.2.
On Tue, 30 Jun 2009, e.leoni at gmail.com wrote: