ei_random should be uniform distribution on the whole integer range

Submitted by Benoit Jacob

Assigned to Benoit Jacob

Link to original bugzilla bug (#45)
Version: 3.0

Description

...instead of [-10;10].

The reason for [-10;10] is to get good-looking docs, but that should be a compile-time option.

Once 3.0 is released we can't change it anymore, so we'd rather switch now to a natural choice, and the only natural choice is to use the whole integer range.

One should first implement ei_random() manually for each integer type; and then implement ei_random(a,b) from it.

Blocking

#48 (closed)