John L. Allen wrote:
Well, it's three+ weeks since I reported the powl() bug to IBM, and of
course they have not provided a fix yet, so I was forced to write the
following patch to pp.c. Hopefully it conforms to everyone's patching
standards - I did my best. The extra code to make powl() work correctly
is only compiled in when both USE_LNG_DUBLE and
HAS_AIX_PWL_NEG_BASE_BUG are set. Nicholas Clark's intent was to
provide a Configure probe to look for the problem and set
HAS_AIX_PWL_NEG_BASE_BUG if found. I wrote a short C program to evince
the bug in a prior thread. I hope it can still be integrated into
Configure. I'll be happy to test it.
Thanks, I've applied your patch to pp.c to bleadperl as change #27698.
Concerning the way to defined HAS_AIX_PWL_NEG_BASE_BUG, perhaps the
best way is to patch appropriately the aix hints file ?