Thread overview
[Issue 20200] Make std.math.isPowerOf2 work for floating point numbers in CTFE
[Issue 20200] Make std.math.isPowerOf2 work in CTFE
Sep 08, 2019
Nathan S.
Sep 08, 2019
Nathan S.
Sep 08, 2019
Nathan S.
Sep 08, 2019
Dlang Bot
Sep 10, 2019
Dlang Bot
September 08, 2019
https://issues.dlang.org/show_bug.cgi?id=20200

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |17007
         Depends on|                            |20199


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=17007
[Issue 17007] let std.math work in CTFE
https://issues.dlang.org/show_bug.cgi?id=20199
[Issue 20199] Make std.math.frexp work in CTFE
--
September 08, 2019
https://issues.dlang.org/show_bug.cgi?id=20200

--- Comment #1 from Nathan S. <n8sh.secondary@hotmail.com> ---
isPowerOf2 already worked in CTFE for integers but not floating point numbers.

--
September 08, 2019
https://issues.dlang.org/show_bug.cgi?id=20200

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Make std.math.isPowerOf2    |Make std.math.isPowerOf2
                   |work in CTFE                |work for floating point
                   |                            |numbers in CTFE

--
September 08, 2019
https://issues.dlang.org/show_bug.cgi?id=20200

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@n8sh created dlang/phobos pull request #7177 "Fix issues 20199 & 20200: make std.math.frexp & isPowerOf2 work in CTFE" fixing this issue:

- Fix issues 20199 & 20200: make std.math.frexp & isPowerOf2 work in CTFE

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

--
September 10, 2019
https://issues.dlang.org/show_bug.cgi?id=20200
Issue 20200 depends on issue 20199, which changed state.

Issue 20199 Summary: Make std.math.frexp work in CTFE https://issues.dlang.org/show_bug.cgi?id=20199

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

--
September 10, 2019
https://issues.dlang.org/show_bug.cgi?id=20200

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7177 "Fix issues 20199 & 20200: make std.math.frexp & isPowerOf2 work in CTFE" was merged into master:

- e7609cb8738e9105395a10b1d3871de8b5496f18 by Nathan Sashihara:
  Fix issues 20199 & 20200: make std.math.frexp & isPowerOf2 work in CTFE

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

--