Skip to content

Commit aac8137

Browse files
committed
Changed rounding for mpfr_const_pi in MPCommon.cpp for acospi
1 parent b2e47da commit aac8137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/utils/MPFRWrapper/MPCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ MPFRNumber MPFRNumber::acospi() const {
8080
#else
8181
mpfr_acos(result.value, value, mpfr_rounding);
8282
MPFRNumber value_pi(0.0, 1280);
83-
mpfr_const_pi(value_pi.value, MPFR_RNDN);
83+
mpfr_const_pi(value_pi.value, mpfr_rounding);
8484
mpfr_div(result.value, result.value, value_pi.value, mpfr_rounding);
8585
return result;
8686
#endif

0 commit comments

Comments
 (0)