Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/sage/symbolic/pynac_cc.h
4107 views
1
#include <math.h>
2
3
inline long double sage_logl(long double x)
4
{
5
#if defined(__CYGWIN__)
6
return log(x);
7
#else
8
return logl(x);
9
#endif
10
}
11
12
inline long double sage_sqrtl(long double x)
13
{
14
#if defined(__CYGWIN__)
15
return sqrt(x);
16
#else
17
return sqrtl(x);
18
#endif
19
}
20
21
inline long double sage_tgammal(long double x)
22
{
23
#if defined(__CYGWIN__)
24
return tgamma(x);
25
#else
26
return tgammal(x);
27
#endif
28
}
29
30
inline long double sage_lgammal(long double x)
31
{
32
#if defined(__CYGWIN__)
33
return lgamma(x);
34
#else
35
return lgammal(x);
36
#endif
37
}
38
39