[python] Use the extended math functions

This commit is contained in:
Romain Goyet
2017-11-08 18:10:07 +01:00
parent f265822792
commit 9fa5ac0acf
2 changed files with 14 additions and 0 deletions

View File

@@ -106,13 +106,16 @@ Q(_percent__hash_x)
Q(_star_)
Q(abs)
Q(acos)
Q(acosh)
Q(all)
Q(any)
Q(append)
Q(args)
Q(asin)
Q(asinh)
Q(atan)
Q(atan2)
Q(atanh)
Q(bin)
Q(bool)
Q(bound_method)
@@ -132,6 +135,7 @@ Q(const)
Q(copy)
Q(copysign)
Q(cos)
Q(cosh)
Q(count)
Q(degrees)
Q(dict)
@@ -141,9 +145,12 @@ Q(divmod)
Q(e)
Q(end)
Q(endswith)
Q(erf)
Q(erfc)
Q(eval)
Q(exec)
Q(exp)
Q(expm1)
Q(extend)
Q(fabs)
Q(find)
@@ -155,6 +162,7 @@ Q(frexp)
Q(from_bytes)
Q(fromkeys)
Q(function)
Q(gamma)
Q(generator)
Q(get)
Q(getattr)
@@ -189,10 +197,13 @@ Q(key)
Q(keys)
Q(ldexp)
Q(len)
Q(lgamma)
Q(list)
Q(little)
Q(locals)
Q(log)
Q(log10)
Q(log2)
Q(lower)
Q(lstrip)
Q(map)
@@ -232,6 +243,7 @@ Q(sep)
Q(setattr)
Q(setdefault)
Q(sin)
Q(sinh)
Q(sort)
Q(sorted)
Q(split)
@@ -246,6 +258,7 @@ Q(strip)
Q(sum)
Q(super)
Q(tan)
Q(tanh)
Q(throw)
Q(to_bytes)
Q(trunc)

View File

@@ -46,6 +46,7 @@
#define MICROPY_PY_ATTRTUPLE (0)
#define MICROPY_PY_COLLECTIONS (0)
#define MICROPY_PY_MATH (1)
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO (0)
#define MICROPY_PY_STRUCT (0)