The mathematics are the friends of religion, inasmuch as they charm the passions, restrain the impetuosity of the imagination, and purge the mind of error and prejudice.