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.
LOG
let number = 5995.0
let logOfNumber = log10(number)
print("logOfNumber ", logOfNumber)
ANTI LOG
let antilog = pow(10, number)
print("antilog ", antilog)
Although I tried the below link to find it.