randi

fnint randi() @safe @trusted nothrow @nogc

Returns a random integer between 0 and int.max (inclusive).