SICP Solutions

Section - 2.5 - Systems with Generic Operations

Exercise 2.95

The fractions are appearing because of the integer divisions of coefficients in div-terms procedure. Perhaps this is the same reason that in last solution my manual gcd is of opposite sign compared to gcd given by the program.