calculate in quad precision