Implement hypergeometric_distribution as an extension.

Ed Smith-Rowland 3dw4rd@verizon.net
Thu Nov 21 01:38:00 GMT 2013


On 11/17/2013 06:37 PM, Paolo Carlini wrote:
> On 11/17/2013 11:34 PM, Ed Smith-Rowland wrote:
>> On 11/17/2013 04:59 PM, Paolo Carlini wrote:
>>> On 11/17/2013 10:43 PM, Ed Smith-Rowland wrote:
>>>> Index: include/ext/random.tcc
>>>> ===================================================================
>>>> --- include/ext/random.tcc    (revision 204912)
>>>> +++ include/ext/random.tcc    (working copy)
>>>> @@ -32,6 +32,7 @@
>>>>     #pragma GCC system_header
>>>>   +#include <tr1/cmath>
>>> I suppose this is just spurious?!?
>>>
>>> Paolo.
>>>
>> It is...  Sorry.
> I see. Could you please also add an operators/values.cc testcase 
> minimally checking the values produced for a bunch of values of the 
> parameters?
>
> Thanks,
> Paolo.
>
>
Here is a new patch with the new testcase (Note to self - add test stuff 
for real distributions).

Tested on x86_64-inux. OK?

Ed



More information about the Libstdc++ mailing list