Thread overview
[Issue 20708] result of cast not specified when value is out of range
Aug 11, 2022
Nick Treleaven
Aug 15, 2022
Nick Treleaven
Aug 15, 2022
Nick Treleaven
August 11, 2022
https://issues.dlang.org/show_bug.cgi?id=20708

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=21359

--
August 15, 2022
https://issues.dlang.org/show_bug.cgi?id=20708

Nick Treleaven <nick@geany.org> changed:

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

--- Comment #1 from Nick Treleaven <nick@geany.org> ---
Issue 21279 for integers now has a pull request.
Issue 22527 for float -> int was fixed.
Closing in favour of those.

*** This issue has been marked as a duplicate of issue 21279 ***

--
August 15, 2022
https://issues.dlang.org/show_bug.cgi?id=20708

--- Comment #2 from Nick Treleaven <nick@geany.org> ---
> Issue 22527 for float -> int was fixed.

See:
https://dlang.org/spec/expression.html#cast_floating

--