Function to determine if two numbers are nearly equal when rounded to n significant decimal digits Function to determine if two numbers are nearly equal when rounded to n significant decimal digits numpy numpy