https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124682

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
mpc 1.4.0 mentions it in the NEWS:
mpc_pow: Agree on and implement the sign of the imaginary part when both inputs
are real.
https://gitlab.inria.fr/mpc/mpc/-/commit/ef46280292621e8c1fbd87ddd7b2233c9e6ae422
In the test it is the
  TESTIT_COMPLEX_R2_ALLNEG (cpow, 2, 3,
                            8, 8, CONJ(1/8.F), CONJ(1/8.F), CONJ(-8), CONJ(-8),
-1/8.F, -1/8.F,
                            CONJ(8), CONJ(8), 1/8.F, 1/8.F, -8, -8,
CONJ(-1/8.F), CONJ(-1/8.F));
  TESTIT_COMPLEX_R2_ALLNEG (cpow, 3, 4,
                            81, 81, CONJ(1/81.F), CONJ(1/81.F), CONJ(81),
CONJ(81), 1/81.F, 1/81.F,
                            CONJ(81), CONJ(81), 1/81.F, 1/81.F, 81, 81,
CONJ(1/81.F), CONJ(1/81.F));
  TESTIT_COMPLEX_R2_ALLNEG (cpow, 3, 5,
                            243, 243, CONJ(1/243.F), CONJ(1/243.F), CONJ(-243),
CONJ(-243), -1/243.F, -1/243.F,
                            CONJ(243), CONJ(243), 1/243.F, 1/243.F, -243, -243,
CONJ(-1/243.F), CONJ(-1/243.F));
  TESTIT_COMPLEX_R2_ALLNEG (cpow, 4, 2,
                            16, 16, CONJ(1/16.F), CONJ(1/16.F), CONJ(16),
CONJ(16), 1/16.F, 1/16.F,
                            CONJ(16), CONJ(16), 1/16.F, 1/16.F, 16, 16,
CONJ(1/16.F), CONJ(1/16.F));
  TESTIT_COMPLEX_R2_ALLNEG (cpow, 1.5, 3,
                            3.375F, 3.375F, CONJ(1/3.375F), CONJ(1/3.375F),
CONJ(-3.375F), CONJ(-3.375F), -1/3.375F, -1/3.375F,
                            CONJ(3.375F), CONJ(3.375F), 1/3.375F, 1/3.375F,
-3.375F, -3.375F, CONJ(-1/3.375F), CONJ(-1/3.375F));
tests and only some parts of those.
I guess we should compare that against old and new glibc behavior when not
folded.

Reply via email to