Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1882 | clevermous | 1 | /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ |
2 | /* @(#)er_gamma.c 5.1 93/09/24 */ |
||
3 | /* |
||
4 | * ==================================================== |
||
5 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. |
||
6 | * |
||
7 | * Developed at SunPro, a Sun Microsystems, Inc. business. |
||
8 | * Permission to use, copy, modify, and distribute this |
||
9 | * software is freely granted, provided that this notice |
||
10 | * is preserved. |
||
11 | * ==================================================== |
||
12 | */ |
||
13 | |||
14 | #if defined(LIBM_SCCS) && !defined(lint) |
||
15 | static char rcsid[] = "$Id: e_gamma_r.c,v 1.4 1994/08/10 20:30:52 jtc Exp $"; |
||
16 | #endif |
||
17 | |||
18 | /* __ieee754_gamma_r(x, signgamp) |
||
19 | * Reentrant version of the logarithm of the Gamma function |
||
20 | * with user provide pointer for the sign of Gamma(x). |
||
21 | * |
||
22 | * Method: See __ieee754_lgamma_r |
||
23 | */ |
||
24 | |||
25 | #include "math.h" |
||
26 | #include "math_private.h" |
||
27 | |||
28 | #ifdef __STDC__ |
||
29 | double __ieee754_gamma_r(double x, int *signgamp) |
||
30 | #else |
||
31 | double __ieee754_gamma_r(x,signgamp) |
||
32 | double x; int *signgamp; |
||
33 | #endif |
||
34 | { |
||
35 | return __ieee754_lgamma_r(x,signgamp); |
||
36 | } |