I need to find an antilog for 5995. I can get the actual antilog value when I am using anti logarithm book. but I could get infinite when I am using below code snippet in iOS. But the correct answer is 3977 How can I calculate the antilog value for 5995 using programatically. Share your valuable suggestions to get the rid of issue.
let number = 5995.0
let logOfNumber = log10(number)
print("logOfNumber ", logOfNumber)
let antilog = pow(10, number)
print("antilog ", antilog)
Although I tried the below link to find it.
How to find out antilog