Page 1 of 1

Math functions for frozen module

Posted: Fri Jul 31, 2020 8:13 am
by jk3ger
Does anybody know how to use specific math functions from math.h in mpy file.

Re: Math functions for frozen module

Posted: Fri Jul 31, 2020 3:21 pm
by rcolistete

Re: Math functions for frozen module

Posted: Sat Aug 01, 2020 8:50 am
by jk3ger
Seems I should use vectorise.
But my programming skill is not so advanced. I have made a lot of attempts but I have too much compiling mistakes.
How can I add MICROPY_FLOAT_C_FUN(cos)(value) macros into my mpy file?