开发者

In Objective-C, Euler's number?

开发者 https://www.devze.com 2023-02-21 10:00 出处:网络
How could开发者_如何学Python Euler\'s number (e) be implemented in Objective-C?M_E, declared in <math.h>, is the value of the Euler number. You can use the exp() function, also declared in math.

How could开发者_如何学Python Euler's number (e) be implemented in Objective-C?


M_E, declared in <math.h>, is the value of the Euler number. You can use the exp() function, also declared in math.h to calculate e^x.


I think the constant M_E defined in <math.h> is what you are looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消