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

how to conventer unsigned long to BCD code faster?

just as titleï¼
now i'am use this method:
a=value%1000/100;
b=value%100/10;
c=value%10;
but it's slow,any faster methods?
thanksï¼

Parents
  • "And, if you post your questions twice or more in different forums, people will need to read/answer your questions twice or more, this is wasting people's precious time/resource. So, it is inappropriate."

    There is nothing wrong in asking the same question on two forums if you cross-link the forums so that users on one forum are aware of the responses people have already given on another forum.

    Without the cross-posting links, many people will spend time giving similar answers, and that will waste not only bandwidth but also the time of the people who do spend time helping out.

    Since time is a scarce resource, help is an even more valuable and limited resource.

Reply
  • "And, if you post your questions twice or more in different forums, people will need to read/answer your questions twice or more, this is wasting people's precious time/resource. So, it is inappropriate."

    There is nothing wrong in asking the same question on two forums if you cross-link the forums so that users on one forum are aware of the responses people have already given on another forum.

    Without the cross-posting links, many people will spend time giving similar answers, and that will waste not only bandwidth but also the time of the people who do spend time helping out.

    Since time is a scarce resource, help is an even more valuable and limited resource.

Children