解决log in iphone Objective C 计算
如何在 iPhone 上求解对数?我尝试对 log2f 和所有这些使用不同的方法,但是我不确定如何制作日志让我们说 log (base4) 5 = x x 将作为答案给出
how can a logarithm be solved on the iphone. I tried using different methods with the log2f and all those however I wasnt sure exactly how to make a log lets say log (base4) 5 = x
and x would be given as the answer
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
log_a(x)=log_b(x) / log_b(a)
其中a
是您想要的基数,b
是任何其他基数。特别是以 5 为底的对数 4 是log2f(5)/log2f(4)
log_a(x)=log_b(x) / log_b(a)
wherea
is the base you want andb
is any other base. In particular log base 4 of 5 islog2f(5)/log2f(4)