Add a assertPreciseEqual() method to check that two results are either e...

...xactly or approximately equal, and with similar types.
I would put the description of what `prec` can be set to ("exact", "single", "double") in the docstring.