It's less about the transactions but the money.
>> 3 * 1005.01
=> 3015.0299999999997
This might get truncated to 3015.02 and might >> 3 * 1005.01 * 10000
=> 30150299.999999996
turn into a real loss.