In <v03110704b4598751194b@[212.24.192.242]>, Dominic Dunlop writes: :At 20:59 +0100 1999-11-17, Ilya Zakharevich wrote: :> Alan Burlison writes: :> > > % perl :> > > print 8473018401 % 524288 , "\n" :> > > 33 :> :> > $ perl :> > print 8473018401 % 524288 , "\n" :> > 524287 :> > :> > Hmm. :> :> Well, you see: (unintentionally) insulting you is not my only function :> on p5p. : :Fine, fine, but does anybody have any idea when and how the problem was :fixed, and whether the fix has yet been/can be applied in the maintenance :track? A grep through _62 Changes for % and modulo sheds no light. All :I've established is that the fix was in place by _57, the earliest :development version I have around. For what it's worth: crypt% setperl 57 old: perl5.005_03; new: perl5.005_57 crypt% perl -wle 'print 8473018401 % 524288' 33 crypt% setperl 56 old: perl5.005_57; new: perl5.005_56 crypt% perl -wle 'print 8473018401 % 524288' 524287 crypt% .. so it was presumably fixed for the first time in _57. HugoThread Previous | Thread Next