Thread overview
[Issue 20508] std.math.pow(-infinity, y) does not return NaN for imaginary or complex results
Jan 17, 2020
berni44
Jan 24, 2020
Dlang Bot
Jan 17
Dlang Bot
Jan 22
Dlang Bot
January 17, 2020
https://issues.dlang.org/show_bug.cgi?id=20508

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

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

--- Comment #1 from berni44 <bugzilla@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. :-)

--
January 24, 2020
https://issues.dlang.org/show_bug.cgi?id=20508

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@berni44 created dlang/phobos pull request #7363 "Fix Issue 20508 - std.math.pow(-infinity, y) does not return NaN for imaginary or complex results" fixing this issue:

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

https://github.com/dlang/phobos/pull/7363

--
January 17
https://issues.dlang.org/show_bug.cgi?id=20508

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@berni44 created dlang/phobos pull request #7747 "Fix Issue 20508 - std.math.pow(-infinity, y) does not return NaN for imaginary or complex results" fixing this issue:

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

https://github.com/dlang/phobos/pull/7747

--
January 22
https://issues.dlang.org/show_bug.cgi?id=20508

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7747 "Fix Issue 20508 - std.math.pow(-infinity, y) does not return NaN for imaginary or complex results" was merged into master:

- 7cc7d4d01a6f80aaaa1ada095f553c151f0f49bc by Bernhard Seckinger:
  Fix Issue 20508 - std.math.pow(-infinity, y) does not return NaN for
  imaginary or complex results

https://github.com/dlang/phobos/pull/7747

--