function bernoulli1() {
		return ( rand() <= p ) ? 1 : 0;
	}
Returns a pseudorandom number drawn from a Bernoulli distribution with bound parameter `p`.

@private
@returns {NonNegativeInteger} pseudorandom number

@example
var v = bernoulli1();
// returns <number>