Floating point division in native .mpy modules
Floating point division in native .mpy modules
Anytime I want to do a division or comparison with floats, I get an undefined symbol error by the linker. How can I include them?
Re: Floating point division in native .mpy modules
Would you mind to post the error message and tell, which port and version you are using?
Re: Floating point division in native .mpy modules
It's for the ESP32/xtensawin, latest git version compiled on MacOS.
That's the error for a division:
And that's a comparison:
That's the error for a division:
Code: Select all
LinkError: build/mylib.o: undefined symbol: __divsf3
Code: Select all
LinkError: build/mylib.o: undefined symbol: __extendsfdf2