fjpanag commented on issue #6941: URL: https://github.com/apache/incubator-nuttx/issues/6941#issuecomment-1229208352
This is the NuttX implementation of `pow()`: ```c double pow(double b, double e) { return exp(e * log(b)); } ``` A friend of mine advised me that it is incorrect to use `log()` with negative numbers. *(I am not capable of evaluating such math expressions myself, sorry...)* So we need special handling for negative bases, I guess? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org