Fix AlmostEquals for the case of an exact result

Fix #342.
wat