We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there any function available to find the anti log (base 10) of any given number. If not, then please guide how to find it using KeiL Compiler
Mohit
But why would you want to do this on an 8051?!
I guess the answer is "because it is cheap and when I saw the price, I checked nothing else".
Almost daily someone is trying to force the '51 into apps where it has no business.
The '51 is WONDERFUL for what it is intended for, but it is not pantyhose.
Erik
What if you only need an antilog once in a while?
Sure, the 8051 makes a lousy supercomputer for doing finite element analysis of your new passenger jet design or modeling global weather patterns.
But there are applications that might need one or two floating point values here and there. No reason to throw out the whole processor just for that. I think the "My God, how can you even contemplate anything other than integer math" reaction goes a bit far. Every so often, you'll need a sine wave or a log or a floating point value, and that's okay.
We've got no idea what this guy's actual application is, so it's hard to say whether or not an 8051 is a reasonable choice.