The 3 examples below shows what happens.
1 x 0.1 = 0.1
2 x 0.1 = 0.2
3 x 0.1 = 0.3
Yes, and also a negative integer divided by a negative integer is equal to a positive number (but not necessarily an integer).
Depends on the degree of rounding. 44999.50...01 (to the nearest integer). 44500.0...01 (to the nearest thousand). 42500.0...01 (to the nearest 5000).
x + 3x + 3 = 4x + 3
It is 2.
The number of bits in an integer is the number of times you can divide the integer by 2, truncating each result, before you reach zero.
That has no integer solution. Three times an integer is another integer; if you subtract to integers, you get an integer again, not a fraction.
A negative integer. Every time.
positive
10OR 01 (if you count zero)
Yes, and also a negative integer divided by a negative integer is equal to a positive number (but not necessarily an integer).
Take a dump
Let's use N to represent any number.N x N = NN x -N = -N-N x -N = NSo the rules are:A positive integer times a positive integer will be a positive integerA positive integer times a negative integer will be a negative integerA negative integer times a negative integer will be a positive integer.
2
Negative, as for example: 5 times -4 = -20
The Times was created on 1785-01-01.
Depends on the degree of rounding. 44999.50...01 (to the nearest integer). 44500.0...01 (to the nearest thousand). 42500.0...01 (to the nearest 5000).
6 6+(3*62) = 114