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

fast arithmetic operations

Hallo Everybody,

How can I make arithmetic operations like divisions faster.
e.g: sine = factor / 10000;

Can I simplify this operation?

Parents
  • What device are we talking about ?

    What type are the variables (integer ? float ? double ?)

    There's a number of ways that could speed things up (lookup tables, modify the code so that most divisions are by powers of two, etc), but which one is actually helpful will strongly depend on what you are trying to accomplish.

Reply
  • What device are we talking about ?

    What type are the variables (integer ? float ? double ?)

    There's a number of ways that could speed things up (lookup tables, modify the code so that most divisions are by powers of two, etc), but which one is actually helpful will strongly depend on what you are trying to accomplish.

Children
No data