Bill Allombert on Mon, 27 Jan 2003 18:25:05 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

bug in random

Hello PARI developers,
It looks like there is a nasty bug bug in random:

? p=2^128+1;sum(i=1,1000,random(p)==p-1)
%1 = 511

This bug is in both CVS and stable 2.1 versions, so is unrelated
to the change induced by the GMP kernel :^p