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

C CODE SNIPETS FOR GET PERTENTAGE

help me to get reduce code and time for simple percent = (value/256)*100

its work fine but i want to using fumnction pointers in arreays for divide and multiply.

Sohil I Chan

{power to the compiler}

Parents
  • using fumnction pointers in arreays for divide and multiply
    the '51 architecture is singularily unsuited for function pointers and thus taking advantage of Keils admirable effort to squeeze them in will cost you more in aspirin than using them will save you in time.

    Erik

Reply
  • using fumnction pointers in arreays for divide and multiply
    the '51 architecture is singularily unsuited for function pointers and thus taking advantage of Keils admirable effort to squeeze them in will cost you more in aspirin than using them will save you in time.

    Erik

Children
No data