An (partial) implementation of Rational Trigonometry in C