Is Objective-C Euler Number?

How would you use the Euler number (e) in Objective-C?

+5
source share
2 answers

M_Edeclared in <math.h>is the value of the Euler number. You can use the function exp()also declared in math.hfor calculation e^x.

+16
source

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

+5
source

All Articles