File indexing completed on 2024-04-28 15:53:57
0001 # AUTO-GENERATED FILE -- DO NOT EDIT 0002 0003 """ This module is always available. It provides access to the 0004 mathematical functions defined by the C standard. """ 0005 0006 __package__ = None 0007 0008 def acos(x): 0009 """ acos(x) 0010 0011 Return the arc cosine (measured in radians) of x. """ 0012 pass 0013 0014 def acosh(x): 0015 """ acosh(x) 0016 0017 Return the hyperbolic arc cosine (measured in radians) of x. """ 0018 pass 0019 0020 def asin(x): 0021 """ asin(x) 0022 0023 Return the arc sine (measured in radians) of x. """ 0024 pass 0025 0026 def asinh(x): 0027 """ asinh(x) 0028 0029 Return the hyperbolic arc sine (measured in radians) of x. """ 0030 pass 0031 0032 def atan(x): 0033 """ atan(x) 0034 0035 Return the arc tangent (measured in radians) of x. """ 0036 pass 0037 0038 def atan2(y, x): 0039 """ atan2(y, x) 0040 0041 Return the arc tangent (measured in radians) of y/x. 0042 Unlike atan(y/x), the signs of both x and y are considered. """ 0043 pass 0044 0045 def atanh(x): 0046 """ atanh(x) 0047 0048 Return the hyperbolic arc tangent (measured in radians) of x. """ 0049 pass 0050 0051 def ceil(x): 0052 """ ceil(x) 0053 0054 Return the ceiling of x as a float. 0055 This is the smallest integral value >= x. """ 0056 pass 0057 0058 def copysign(x, y): 0059 """ copysign(x, y) 0060 0061 Return x with the sign of y. """ 0062 pass 0063 0064 def cos(x): 0065 """ cos(x) 0066 0067 Return the cosine of x (measured in radians). """ 0068 pass 0069 0070 def cosh(x): 0071 """ cosh(x) 0072 0073 Return the hyperbolic cosine of x. """ 0074 pass 0075 0076 def degrees(x): 0077 """ degrees(x) 0078 0079 Convert angle x from radians to degrees. """ 0080 pass 0081 0082 e = 2.71828182846 0083 0084 def erf(x): 0085 """ erf(x) 0086 0087 Error function at x. """ 0088 pass 0089 0090 def erfc(x): 0091 """ erfc(x) 0092 0093 Complementary error function at x. """ 0094 pass 0095 0096 def exp(x): 0097 """ exp(x) 0098 0099 Return e raised to the power of x. """ 0100 pass 0101 0102 def expm1(x): 0103 """ expm1(x) 0104 0105 Return exp(x)-1. 0106 This function avoids the loss of precision involved in the direct evaluation of exp(x)-1 for small x. """ 0107 pass 0108 0109 def fabs(x): 0110 """ fabs(x) 0111 0112 Return the absolute value of the float x. """ 0113 pass 0114 0115 def factorial(x): 0116 """ factorial(x) -> Integral 0117 0118 Find x!. Raise a ValueError if x is negative or non-integral. """ 0119 return None 0120 0121 def floor(x): 0122 """ floor(x) 0123 0124 Return the floor of x as a float. 0125 This is the largest integral value <= x. """ 0126 pass 0127 0128 def fmod(x, y): 0129 """ fmod(x, y) 0130 0131 Return fmod(x, y), according to platform C. x % y may differ. """ 0132 pass 0133 0134 def frexp(x): 0135 """ frexp(x) 0136 0137 Return the mantissa and exponent of x, as pair (m, e). 0138 m is a float and e is an int, such that x = m * 2.**e. 0139 If x is 0, m and e are both 0. Else 0.5 <= abs(m) < 1.0. """ 0140 pass 0141 0142 def fsum(iterable): 0143 """ fsum(iterable) 0144 0145 Return an accurate floating point sum of values in the iterable. 0146 Assumes IEEE-754 floating point arithmetic. """ 0147 pass 0148 0149 def gamma(x): 0150 """ gamma(x) 0151 0152 Gamma function at x. """ 0153 pass 0154 0155 def hypot(x, y): 0156 """ hypot(x, y) 0157 0158 Return the Euclidean distance, sqrt(x*x + y*y). """ 0159 pass 0160 0161 def isinf(x): 0162 """ isinf(x) -> bool 0163 0164 Check if float x is infinite (positive or negative). """ 0165 return None 0166 0167 def isnan(x): 0168 """ isnan(x) -> bool 0169 0170 Check if float x is not a number (NaN). """ 0171 return None 0172 0173 def ldexp(x, i): 0174 """ ldexp(x, i) 0175 0176 Return x * (2**i). """ 0177 pass 0178 0179 def lgamma(x): 0180 """ lgamma(x) 0181 0182 Natural logarithm of absolute value of Gamma function at x. """ 0183 pass 0184 0185 def log(x, base=None): 0186 """ log(x[, base]) 0187 0188 Return the logarithm of x to the given base. 0189 If the base not specified, returns the natural logarithm (base e) of x. """ 0190 pass 0191 0192 def log10(x): 0193 """ log10(x) 0194 0195 Return the base 10 logarithm of x. """ 0196 pass 0197 0198 def log1p(x): 0199 """ log1p(x) 0200 0201 Return the natural logarithm of 1+x (base e). 0202 The result is computed in a way which is accurate for x near zero. """ 0203 pass 0204 0205 def modf(x): 0206 """ modf(x) 0207 0208 Return the fractional and integer parts of x. Both results carry the sign 0209 of x and are floats. """ 0210 pass 0211 0212 pi = 3.14159265359 0213 0214 def pow(x, y): 0215 """ pow(x, y) 0216 0217 Return x**y (x to the power of y). """ 0218 pass 0219 0220 def radians(x): 0221 """ radians(x) 0222 0223 Convert angle x from degrees to radians. """ 0224 pass 0225 0226 def sin(x): 0227 """ sin(x) 0228 0229 Return the sine of x (measured in radians). """ 0230 pass 0231 0232 def sinh(x): 0233 """ sinh(x) 0234 0235 Return the hyperbolic sine of x. """ 0236 pass 0237 0238 def sqrt(x): 0239 """ sqrt(x) 0240 0241 Return the square root of x. """ 0242 pass 0243 0244 def tan(x): 0245 """ tan(x) 0246 0247 Return the tangent of x (measured in radians). """ 0248 pass 0249 0250 def tanh(x): 0251 """ tanh(x) 0252 0253 Return the hyperbolic tangent of x. """ 0254 pass 0255 0256 def trunc(arg0): 0257 """ trunc(x:Real) -> Integral 0258 0259 Truncates x to the nearest Integral toward 0. Uses the __trunc__ magic method. """ 0260 return None 0261