Aspects

Multiplication

Multiplication is the mathematical operation of scaling one number by another

Multiplying

This is one of the four elementary, mathematical operations of arithmetic; with the others being addition, subtraction and division.

Mistake compiler optimization

Quality | Example |
---|---|

Easier |
"Implementing multiplication is easier if you remember an shl operation performs the same operation as multiplying the specified operand by two" from question "Assembly 8086 - Implementing any multiplication and division without MUL and DIV instruction" "Multiplication is the easier of the tasks just remember to multiplying each block of one number with the other and carry the zeros" from question "Convert string to a large integer?" |

Faster |
"Mathematically left shifting is the same as multiplying a number by a power of 2 but as the operation is done only by shifting it is much faster than doing multiplication" from question "What does << represent in python?" |

Longer |
"If i make a mistake and multiplying a number by 1.0 instead of 1 and i do not use any compiler optimization then my multiplication will last much longer than multiplying a number by 1" from question "Double multiplication independent from the length of the variable?" |

Others