| 27 | } |
| 28 | |
| 29 | inline double expm1(double x) |
| 30 | { |
| 31 | double u = exp(x); |
| 32 | if (u == 1.0) { |
| 33 | return x; |
| 34 | } else if (u-1.0 == -1.0) { |
| 35 | return -1; |
| 36 | } else { |
| 37 | return (u-1.0) * x/log(u); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | inline double asinh(double xx) |
| 42 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…