So I’m trying to figure out the best way to solve simple logarithms using objective c. For example ln 30 = 3.4012. I’m not too sure if there’s any built in functionality in objective c to do this. Any ideas?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In fact it is “c” question because Objective-C is based on c, and all primitive math functions like logarithms are included in math.h
so use:
log() to find logarithms
exp() to find exponent
e.g.