The R Project SVN R

Rev

Rev 7671 | Rev 8431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7671 Rev 8074
Line 21... Line 21...
21
 *
21
 *
22
 *    The density of the hypergeometric distribution.
22
 *    The density of the hypergeometric distribution.
23
 */
23
 */
24
 
24
 
25
#include "Mathlib.h"
25
#include "Mathlib.h"
-
 
26
#include "dpq.h"
26
 
27
 
27
double dhyper(double x, double NR, double NB, double n, int give_log)
28
double dhyper(double x, double NR, double NB, double n, int give_log)
28
{
29
{
29
    double N;
30
    double N;
30
#ifdef IEEE_754
31
#ifdef IEEE_754