gf(2) Polynomial long division

c = a/b

a = b0000000000000000111101111101100100100100100111111111001100111111
a = 0x0000f7d9249ff33f
a = x47 + x46 + x45 + x44 + x42 + x41 + x40 + x39 + x38 + x36 + x35 + x32 + x29 + x26 + x23 + x20 + x19 + x18 + x17 + x16 + x15 + x14 + x13 + x12 + x9 + x8 + x5 + x4 + x3 + x2 + x + 1

b = b0000000000000000000000000100110010000011000011010101001110100101
b = 0x0000004c830d53a5
b = x38 + x35 + x34 + x31 + x25 + x24 + x19 + x18 + x16 + x14 + x12 + x9 + x8 + x7 + x5 + x2 + 1

  111101111101100100100100100111111111001100111111 | 100110010000011000011010101001110100101
- 100110010000011000011010101001110100101          | 1
  ------------------------------------------------ |
   11011101101111100111110001110001011100100111111 |
-  100110010000011000011010101001110100101         | 1
  ------------------------------------------------ |
    1000100101110000110011011010110001110000111111 |
-   100110010000011000011010101001110100101        | 1
  ------------------------------------------------ |
       1000001110110110101110000101100111010111111 |
-    000000000000000000000000000000000000000       | 0
-     000000000000000000000000000000000000000      | 0
-      100110010000011000011010101001110100101     | 1
  ------------------------------------------------ |
          1101010110000101000101111111010011101111 |
-       000000000000000000000000000000000000000    | 0
-        000000000000000000000000000000000000000   | 0
-         100110010000011000011010101001110100101  | 1
  ------------------------------------------------ |
           100110010000011000011010101001110100101 |
-          100110010000011000011010101001110100101 | 1
  ------------------------------------------------ |
                                                 0 |

cquotient = b0000000000000000000000000000000000000000000000000000001110010011
cquotient = 0x0000000000000393
cquotient = x9 + x8 + x7 + x4 + x + 1

cremainder = b0000000000000000000000000000000000000000000000000000000000000000
cremainder = 0x0000000000000000
cremainder = 0