I am wondering how to convert a negative decimal with a fraction, for example $$-37.125$$ to binary and to hex in two's complement form. I understand how to do this with a positive number, and I understand how to convert whole numbers into two's complement form. The calculator accepts numbers of up to 10000 digits. If you need the square root to subtract the number at the left, just negate both a and c. If b is negative, the result is not a real number, so it cannot be represented as a continued fraction.
This is similar to reducing fractions; when you subtract the powers put the answer in the numerator or denominator depending on where the higher power was located. If the higher power is in the denominator, put the difference in the denominator and vice versa, this will help avoid negative exponents and a repeat of step 3.
Fraction Calculator allows for adding, subtracting, multiplying and dividing both positive and negative fractions, displaying the results both as a fraction and a decimal. There are also functions to allow for simplifying, reciprocals, squares and square roots. Fraction Calculator is fully VoiceOver accessible.