gsl_ran_bernoulli

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (C)
uint
gsl_ran_bernoulli
(
const(gsl_rng)* r
,
double p
)

Meta