check out the "power series, power serious" paper by doug-macllroy. he does that...
http://swtch.com/~rsc/thread/squint.pdf
(it's also linked at the bottom of the article)