Skip to content

Commit 5b417cf

Browse files
committed
some tweaking in MPCommon.cpp
1 parent aac8137 commit 5b417cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/utils/MPFRWrapper/MPCommon.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ 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_rounding);
84-
mpfr_div(result.value, result.value, value_pi.value, mpfr_rounding);
83+
mpfr_const_pi(value_pi.value, MPFR_RNDN);
84+
mpfr_div(result.value, value, value_pi.value, mpfr_rounding);
8585
return result;
8686
#endif
8787
}

0 commit comments

Comments
 (0)