1 | --- scipy_core/scipy_base/fastumathmodule.c.orig 2005-07-29 23:58:19.000000000 -0700 |
---|
2 | +++ scipy_core/scipy_base/fastumathmodule.c 2005-07-29 23:59:52.000000000 -0700 |
---|
3 | @@ -29,12 +29,12 @@ |
---|
4 | |
---|
5 | |
---|
6 | #if !defined(HAVE_INVERSE_HYPERBOLIC) |
---|
7 | -static double acosh(double x) |
---|
8 | +extern double acosh(double x) |
---|
9 | { |
---|
10 | return log(x + sqrt((x-1.0)*(x+1.0))); |
---|
11 | } |
---|
12 | |
---|
13 | -static double asinh(double xx) |
---|
14 | +extern double asinh(double xx) |
---|
15 | { |
---|
16 | double x; |
---|
17 | int sign; |
---|
18 | @@ -49,7 +49,7 @@ |
---|
19 | return sign*log(x + sqrt(x*x+1.0)); |
---|
20 | } |
---|
21 | |
---|
22 | -static double atanh(double x) |
---|
23 | +extern double atanh(double x) |
---|
24 | { |
---|
25 | return 0.5*log((1.0+x)/(1.0-x)); |
---|
26 | } |
---|