Dude are you trying to crack an RSA cipher???
I wrote a program about 100 years ago to try to do the same thing. If you start asking us for large prime numbers next, we're on to you!

Ha..
This is great.
If you're trying to keep all the digits, try converting your numbers to binary and then using twos complement (XOR) to subtract. The bitwise operations are much faster than what the compiler will generate for you. Just remember to keep a counter. When the division yields a sign bit of 0, you're done. Depending on the accumulator logic, the other dividend is the count or count-1 depending on when you increment it.
Am I dating myself by talking Assembler? Probably, but what the heck. When I wrote something like this, it was for a Zilog Z80 processor (8 bit) running at 1 MHz so I really had no other option.
Good luck.
UPDATE: It will work with anything, you just need to employ the long division shift and keep track of the decimal point yourself. This is definitely only valid if you are willing to bypass the compiler and do the operations yourself. Do they even make assemblers any more? I honestly don't know, but if you can get to the actual CPU commands (mnemonics), your operations will go much faster.
Anyway, I guess that eliminates my assumption about RSA huh... I wish I could find my source, I'd send it to you.