Adding abs compare.
Adding a safety condition to calling approximate.