This made me think at first of a Forth implementation of Rational Trigonometry, which could be a nice thing to have on a microcontroller.
RATIONAL TRIGONOMETRY: COMPUTATIONAL VIEWPOINT [PDF]
http://euler.rene-grothmann.de/Programs/Examples/Rational%20Trigonometry.html