mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
7e96dc369e
This is the change introduced by revision 734 of MPC repository. Author: Paul Zimmermann <Paul.Zimmermann@loria.fr> Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
15 lines
444 B
Diff
15 lines
444 B
Diff
--- trunk/src/acos.c 2009/12/08 16:49:43 733
|
|
+++ trunk/src/acos.c 2009/12/09 20:51:38 734
|
|
@@ -188,10 +188,7 @@
|
|
else
|
|
rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD
|
|
: rnd_im == GMP_RNDD ? GMP_RNDU
|
|
-#if MPFR_VERSION_MAJOR >= 3
|
|
- : rnd_im == GMP_RNDA ? GMP_RNDZ
|
|
-#endif
|
|
- : rnd_im;
|
|
+ : rnd_im; /* both RNDZ and RNDA map to themselves for -asin(z) */
|
|
rnd1 = RNDC(GMP_RNDN, rnd_im);
|
|
mpfr_init2 (pi_over_2, p);
|
|
for (;;)
|