assert(0.25.bernoulliInvCDF(0.5) == false); assert(0.5.bernoulliInvCDF(0.5) == false); assert(0.75.bernoulliInvCDF(0.5) == true); assert(0.3.bernoulliInvCDF(0.7) == false); assert(0.7.bernoulliInvCDF(0.7) == false); assert(0.9.bernoulliInvCDF(0.7) == true);
Computes the bernoulli inverse cumulative distribution function (InvCDF).