Efficient implementation of natural logarithm (ln) and exponentiation

后端 未结 8 2389
借酒劲吻你
借酒劲吻你 2020-12-15 09:18

I\'m looking for implementation of log() and exp() functions provided in C library . I\'m working with 8 bit microcontro

8条回答
  •  青春惊慌失措
    2020-12-15 10:00

    The Taylor series for e^x converges extremely quickly, and you can tune your implementation to the precision that you need. (http://en.wikipedia.org/wiki/Taylor_series)

    The Taylor series for log is not as nice...

提交回复
热议问题