fix quad precision type