[Issue 20508] std.math.pow(-infinity, y) does not return NaN for imaginary or complex results

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 17 10:41:26 UTC 2020


berni44 <bugzilla at d-ecke.de> changed:

           What    |Removed                     |Added
                 CC|                            |bugzilla at d-ecke.de

--- Comment #1 from berni44 <bugzilla at d-ecke.de> ---
IMHO the current implementation is broken. Probably it's been implemented with
integers in mind (for the exponent). Before fixing this, I'd like to completely
understand -inf ^^ y for any y. I will be able to figure this out myself, but
this will take a while. So if you've got a link to a page, where this is
explained or could provide this information, it would be great. :-)


More information about the Digitalmars-d-bugs mailing list