This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Finding Anti Log to base 10

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

Parents Reply Children
  • 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.