Subversion Repositories Kolibri OS

Rev

Rev 4872 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 Serge 1
 
2
/*
3
 * ====================================================
4
 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
5
 *
6
 * Developed at SunPro, a Sun Microsystems, Inc. business.
7
 * Permission to use, copy, modify, and distribute this
8
 * software is freely granted, provided that this notice
9
 * is preserved.
10
 * ====================================================
11
 *
12
 */
13
14
 
15
 * Reentrant version of the logarithm of the Gamma function
16
 * with user provide pointer for the sign of Gamma(x).
17
 *
18
 * Method: See __ieee754_lgamma_r
19
 */
20
21
 
22
23
 
24
	double __ieee754_gamma_r(double x, int *signgamp)
25
#else
26
	double __ieee754_gamma_r(x,signgamp)
27
	double x; int *signgamp;
28
#endif
29
{
30
	return __ieee754_exp (__ieee754_lgamma_r(x,signgamp));
31
}
32