nipy/nibabel — pull request #115 by matthew-brett (2012-04-29 10:49:52+00:00)
Title: Improving int to int scaling and adding roundtrip tests

After discussion on the mailing list, use various tricks to make int to int scaling more accurate.

Add functions useful for estimating floating point error.

Avoid using useless windows 32 longdouble because it gives no higher precision.

Make roundtrip tests with fairly rational bounds on error.