Hello macrumours!
I realise I might get an empty can of diet pepsi thrown at my head for asking this, but here goes.
I need to do some calculations in my objective-c code, and I am looking for a good source of information. The following link lists basic c++ functions that I can use, but I need to consider the use of classes like NSInteger and NSNumber.
http://www.cplusplus.com/reference/clibrary/cmath/
If I wanted to implement the following calculation in objective c, what would be the best way to write a method? Does anyone have any good online free resources I can read up?
y = (1 - ex) / ex
where ex is e to the power of x
where x = 5 + b
Thanks
I realise I might get an empty can of diet pepsi thrown at my head for asking this, but here goes.
I need to do some calculations in my objective-c code, and I am looking for a good source of information. The following link lists basic c++ functions that I can use, but I need to consider the use of classes like NSInteger and NSNumber.
http://www.cplusplus.com/reference/clibrary/cmath/
If I wanted to implement the following calculation in objective c, what would be the best way to write a method? Does anyone have any good online free resources I can read up?
y = (1 - ex) / ex
where ex is e to the power of x
where x = 5 + b
Thanks