Make API check tolerent to numerical imprecision.