[issue30561] sync-up gammavariate and expovariate code

2018-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 63d152232e1742660f481c04a811f824b91f6790 by Raymond Hettinger (leodema) in branch 'master': bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934) https://github.com/python/cpython/commit/63d152232e1742660f481c04a811f824b91f6790

[issue30561] sync-up gammavariate and expovariate code

2018-12-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30561] sync-up gammavariate and expovariate code

2017-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +rhettinger ___ Python tracker ___ ___

[issue30561] sync-up gammavariate and expovariate code

2017-06-03 Thread Leonardo De Marchi
Changes by Leonardo De Marchi : -- pull_requests: +2014 ___ Python tracker ___

[issue30561] sync-up gammavariate and expovariate code

2017-06-03 Thread Leonardo De Marchi
Changes by Leonardo De Marchi : -- pull_requests: +2011 ___ Python tracker ___

[issue30561] sync-up gammavariate and expovariate code

2017-06-03 Thread Leonardo De Marchi
New submission from Leonardo De Marchi: As suggested by rhettinger in http://bugs.python.org/msg294438: I agree that the comment should be changed. While we at it, perhaps sync-up with expovariate() code and eliminate the ``u <= 1e-7`` test: Instead of: elif alpha == 1.0: