code: func (grng GeometricGenerator) Geometric(p float64) int64 {
  	if !(0.0 <= p && p <= 1.0) {
  		panic(fmt.Sprintf("Invalid probability p: %.2f", p))
  	}
  	return grng.geometric(p)
  }
docs: // Geometric returns a random number X ~ binomial(n, p)