Thread overview
[Issue 21721] casting std.BigInts to built-in floating point types not allowed in `@safe` code without -preview=dip1000
Mar 18, 2021
Nathan S.
Mar 18, 2021
Dlang Bot
[Issue 21721] casting std.BigInts to built-in floating point types doesn't work without -preview=dip1000
Mar 18, 2021
Nathan S.
Mar 18, 2021
Dlang Bot
Apr 25, 2021
Dlang Bot
Apr 27, 2021
Dlang Bot
March 18, 2021
https://issues.dlang.org/show_bug.cgi?id=21721

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n8sh.secondary@hotmail.com
           Hardware|x86_64                      |All
            Summary|error casting std.BigInts   |casting std.BigInts to
                   |to built-in floating point  |built-in floating point
                   |types                       |types not allowed in
                   |                            |`@safe` code without
                   |                            |-preview=dip1000
                 OS|Windows                     |All

--
March 18, 2021
https://issues.dlang.org/show_bug.cgi?id=21721

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@n8sh created dlang/phobos pull request #7877 "casting std.BigInts to built-in floating point types not allowed in `@safe` code without -preview=dip1000" fixing this issue:

- Fix Issue 21721 - casting std.BigInts to built-in floating point types not allowed in `@safe` code without -preview=dip1000

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

--
March 18, 2021
https://issues.dlang.org/show_bug.cgi?id=21721

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|casting std.BigInts to      |casting std.BigInts to
                   |built-in floating point     |built-in floating point
                   |types not allowed in        |types doesn't work without
                   |`@safe` code without        |-preview=dip1000
                   |-preview=dip1000            |

--
March 18, 2021
https://issues.dlang.org/show_bug.cgi?id=21721

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7877 "casting std.BigInts to built-in floating point types not allowed in `@safe` code without -preview=dip1000" was merged into stable:

- 37cc1f7168ddd387ea220c8397b25b6f01759b06 by Nathan Sashihara:
  Fix Issue 21721 - casting std.BigInts to built-in floating point types not
allowed in `@safe` code without -preview=dip1000

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

--
April 25, 2021
https://issues.dlang.org/show_bug.cgi?id=21721

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7964 "merge stable" was merged into master:

- d3a14339217b1f54060ee2457e9cd8fc64651633 by Nathan Sashihara:
  Fix Issue 21721 - casting std.BigInts to built-in floating point types not
allowed in `@safe` code without -preview=dip1000

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

--
April 27, 2021
https://issues.dlang.org/show_bug.cgi?id=21721

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8012 "merge stable" was merged into master:

- 40b34d3c1ff1d6bf8c75114c2c47d96c4864686f by Nathan Sashihara:
  Fix Issue 21721 - casting std.BigInts to built-in floating point types not
allowed in `@safe` code without -preview=dip1000

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

--