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

View File

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