This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Fix negative_binomial_distribution


... tweaking the fix like this makes for slightly faster repeated calls (spares a division) and also makes clearer that we had a plain typo p / (1 - p) for (1 - p) / p, grrr.. Double checked Devroye in the meanwhile.

Committed to mainline, will be in 4.6.1.

Paolo.

///////////////

Attachment: CL_nbinomial_2
Description: Text document

Attachment: patch_nbinomial_2
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]