Transforms a double to a fraction and simplifies the result.
src |
double to transform |
dest_n |
pointer to a int to hold the result numerator |
dest_d |
pointer to a int to hold the result denominator |