Extended precision

Hi there,

here's a new cleaned up patch to provide support for extended precision, see also #51. It passes the tests and works for me. Actually there's a unrelated test failing but it fails on develop branch too.

Andrea