The generic uniform random number generator fails for the "any uint" case by throwing a FP exception. moving either bound in by one fixes the problem.
Also, I think there should be a convenience function for that case:
T uniform(T)(){ return uniform!("[]",T,T)(T.min,T.max); }
Comment #1 by andrej.mitrovich — 2013-02-04T18:40:16Z
2.039 fails with an integer divide by zero.
2.053+ seems to work fine.