Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Check for HAVE_LDOUBLE_DOUBLE_DOUBLE_LE in npy_math_complex. #7931

Merged
merged 1 commit into from
Aug 15, 2016

Conversation

charris
Copy link
Member

@charris charris commented Aug 11, 2016

The _real_part_reciprocal function is coded in two ways, one depending
on functions specific to IEEE floating point and the other using generic
code that should always work. Because PPC long double is not IEEE the
generic version should always be chosen for that architecture, but that
is currently only done when the PPC is configured as big endian. This
PR makes sure that the generic version is also chosen when the PPC is
configured as little endian.

Closes #7836.

The `_real_part_reciprocal` function is coded in two ways, one depending
on functions specific to IEEE floating point and the other using generic
code that should always work.  Because PPC long double is not IEEE the
generic version should always be chosen for that architecture, but that
is currently only done when the PPC is configured as big endian.  This
PR makes sure that the generic version is also chosen when the PPC is
configured as little endian.

Closes numpy#7836.
@charris charris added this to the 1.11.2 release milestone Aug 11, 2016
@charris
Copy link
Member Author

charris commented Aug 11, 2016

This is "obviously correct" and I think it should fix #7836, but let's wait until that is verified before merging.

@charris
Copy link
Member Author

charris commented Aug 15, 2016

@bbelgodere Can you verify that this fixes your problem?

@charris charris merged commit 256103a into numpy:master Aug 15, 2016
@charris charris deleted the fix-npymath-for-ppc branch August 15, 2016 18:44
@charris charris removed this from the 1.11.2 release milestone Aug 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant