Math functions for frozen module
Math functions for frozen module
Does anybody know how to use specific math functions from math.h in mpy file.
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: Math functions for frozen module
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
Re: Math functions for frozen module
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?
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?