Pycom WiPy 3.0 Manual page 363

Hide thumbs Also See for WiPy 3.0:
Table of Contents

Advertisement

5.3.7 math
Return the cosine of
.
x
math.cosh(x)
Return the hyperbolic cosine of
.
x
math.degrees(x)
Return radians
converted to degrees.
x
math.erf(x)
Return the error function of
.
x
math.erfc(x)
Return the complementary error function of
.
x
math.exp(x)
Return the exponential of
.
x
math.expm1(x)
Return
.
exp(x) - 1
math.fabs(x)
Return the absolute value of
.
x
math.floor(x)
Return an integer, being
rounded towards negative infinity.
x
math.fmod(x, y)
Return the remainder of
.
x/y
math.frexp(x)
Decomposes a floating-point number into its mantissa and exponent. The returned value is
the tuple
such that
exactly. If
then the function returns
(m, e)
x == m * 2**e
x == 0
, otherwise the relation
holds.
(0.0, 0)
0.5 <= abs(m) < 1
math.gamma(x)
Return the gamma function of
.
x
363

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WiPy 3.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

SipyGpyLopyLopy4Fipy

Table of Contents