This question already has answers here:
What kind of logarithm functions / methods are available in objective-c / cocoa-touch?
(3个答案)
7年前关闭。
我想在iOS中计算对数。 Objective-C可以做到吗?
您也可以在这里看到:What kind of logarithm functions / methods are available in objective-c / cocoa-touch?
(3个答案)
7年前关闭。
我想在iOS中计算对数。 Objective-C可以做到吗?
最佳答案
您可以使用C functions计算对数
#import <math.h>
double myLog = log(10);
您也可以在这里看到:What kind of logarithm functions / methods are available in objective-c / cocoa-touch?
关于iphone - 如何在iOS中计算对数?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/3784418/
10-09 10:21