The R Project SVN R

Rev

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

Rev 33334 Rev 33624
Line 231... Line 231...
231
#define imax2		Rf_imax2
231
#define imax2		Rf_imax2
232
#define imin2		Rf_imin2
232
#define imin2		Rf_imin2
233
#define lbeta		Rf_lbeta
233
#define lbeta		Rf_lbeta
234
#define lchoose		Rf_lchoose
234
#define lchoose		Rf_lchoose
235
#define lgammafn	Rf_lgammafn
235
#define lgammafn	Rf_lgammafn
236
/* FIXME: Add the next 4 (from ../nmath/pgamma.c) to the API */
-
 
237
#define lgamma1p	Rf_lgamma1p
236
#define lgamma1p	Rf_lgamma1p
238
#define log1pmx		Rf_log1pmx
237
#define log1pmx		Rf_log1pmx
239
#define logspace_add	Rf_logspace_add
238
#define logspace_add	Rf_logspace_add
240
#define logspace_sub	Rf_logspace_sub
239
#define logspace_sub	Rf_logspace_sub
241
#define pbeta		Rf_pbeta
240
#define pbeta		Rf_pbeta
Line 566... Line 565...
566
double	fprec(double, double);
565
double	fprec(double, double);
567
double	fround(double, double);
566
double	fround(double, double);
568
double	fsign(double, double);
567
double	fsign(double, double);
569
double	ftrunc(double);
568
double	ftrunc(double);
570
 
569
 
-
 
570
double  log1pmx(double); /* Accurate log(1+x) - x, {care for small x} */
-
 
571
double  lgamma1p(double);/* accurate log(gamma(x+1)), small x (0 < x < 0.5) */
-
 
572
 
-
 
573
/* Compute the log of a sum or difference from logs of terms, i.e.,
-
 
574
 *
-
 
575
 *     log (exp (logx) + exp (logy))
-
 
576
 * or  log (exp (logx) - exp (logy))
-
 
577
 *
-
 
578
 * without causing overflows or throwing away too much accuracy:
-
 
579
 */
-
 
580
double  logspace_add(double logx, double logy);
-
 
581
double  logspace_sub(double logx, double logy);
-
 
582
 
571
 
583
 
572
 
584
 
573
 
585
 
574
/* ----------------- Private part of the header file ------------------- */
586
/* ----------------- Private part of the header file ------------------- */
575
 
587