if it helps then you know how much this would help ESP32 too but this feature is not there (?) for ESP32 but maybe it wouldn't be that much hard to add it
btw there is no "integer arithmetics" in javascript, everything is in double floating point done in software. However the "compiled" code may figure out you are using only integers and do integer math.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
for MDBT42Q code you may try to put "compiled" in the methods that are doing the math, see
https://www.espruino.com/Compilation
if it helps then you know how much this would help ESP32 too but this feature is not there (?) for ESP32 but maybe it wouldn't be that much hard to add it
btw there is no "integer arithmetics" in javascript, everything is in double floating point done in software. However the "compiled" code may figure out you are using only integers and do integer math.
as for raspberry pico, it has hand optimized floating point code in ROM
https://www.quinapalus.com/qfplib-m0-full.html
https://github.com/raspberrypi/pico-bootrom/blob/master/bootrom/mufplib.S
maybe it helps there too.
BTW, it would be interesting to try this qfplib library with nrf51/52 build too, it is GPLed
https://www.quinapalus.com/qfplib-m3.html