use get_precision in psifn