Top "Division" questions

In mathematics, division (÷) is an arithmetic elementary operation.

In Lua, how can I tell if a number divides evenly into another number?

In Lua, how can I tell if a number divides evenly into another number? i.e with no remainder? I'm …

math lua division coronasdk
Java modular division

I'm doing some error correcting, and I need to divide two digits under mod 11 in Java. Now this I know, …

java division modular-arithmetic
How to find the smallest number with just 0 and 1 which is divided by a given number?

Every positive integer divide some number whose representation (base 10) contains only zeroes and ones. One can prove that: Consider the …

algorithm math division
Why is division more expensive than multiplication?

I am not really trying to optimize anything, but I remember hearing this from programmers all the time, that I …

performance division cpu-architecture multiplication
Difference between "Math.DivRem" and % operator?

What is the difference between System.Math.DivRem() and the % operator?

.net math operators division
64/32-bit division on a processor with 32/16-bit division

My processor, a small 16-bit microcontroller with no FPU and integer math only has 16/16 division and 32/16 division which both take 18 …

algorithm optimization division
Check if an integer is divisible by another integer (Swift)

I need to check if an integer is divisible by another integer exactly. If not I would like to round …

ios swift integer division
Java - How to check if a division is an integer or a float?

Couldnt think of a better title. Well the problem is: I have the "int i", it can be any value. …

java math int division operation
Does \ perform integer division in VB?

In VB.NET even if both the operands are integer, the / operator will cause the value to be floating point (…

vb.net division integer-division
Division and modulus using single divl instruction (i386, amd64)

I was trying to come up with inline assembly for gcc to get both division and modulus using single divl …

gcc assembly division x86-64 i386