Use boolean functions to perform comparison of double precision numbers.