我需要 NodeMCU/ESP8266 中的 math.pow 函数,但无法包含数学库
最佳答案
您可以尝试使用 exponentiation ^
operator而不是 math.pow
:2^3 == 8
。
关于lua - 无法在 NodeMCU/ESP8266 中使用 math.pow 函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31353264/
我需要 NodeMCU/ESP8266 中的 math.pow 函数,但无法包含数学库
最佳答案
您可以尝试使用 exponentiation ^
operator而不是 math.pow
:2^3 == 8
。
关于lua - 无法在 NodeMCU/ESP8266 中使用 math.pow 函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31353264/