Here's a cut at a psyco-ized version of python's
mathmodule.c. Implementation borrows from the work
Its not complete, needing a couple more functions
added, as well as proper handling for eg domain
errors etc (which I expect will slow it down a bit).
It seems to compile and work on my linux box. Not
tested on windows.