Thread overview
[Issue 3632] modify float is float to do a bitwise compare
Jan 14, 2015
Denis Shelomovskij
May 28, 2019
Daniel Kozak
May 30, 2019
Dlang Bot
Oct 24, 2019
RazvanN
Jun 07, 2020
Nathan S.
Mar 08, 2022
Dlang Bot
Apr 06, 2022
Dlang Bot
January 14, 2015
https://issues.dlang.org/show_bug.cgi?id=3632

--- Comment #33 from Denis Shelomovskij <verylonglogin.reg@gmail.com> ---
(In reply to yebblies from comment #32)
> *** Issue 11442 has been marked as a duplicate of this issue. ***

Testcase from Issue 11442:
---
struct S { float n; }
static assert(S.init is S.init); // fails
---

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=3632

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |D2

--
May 28, 2019
https://issues.dlang.org/show_bug.cgi?id=3632

Daniel Kozak <kozzi11@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kozzi11@gmail.com

--- Comment #34 from Daniel Kozak <kozzi11@gmail.com> ---
*** Issue 8530 has been marked as a duplicate of this issue. ***

--
May 30, 2019
https://issues.dlang.org/show_bug.cgi?id=3632

--- Comment #35 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw updated dlang/dmd pull request #7568 "fix Issue 3632 - modify float is float to do a bitwise compare" fixing this issue:

- fix Issue 3632 - modify float is float to do a bitwise compare

https://github.com/dlang/dmd/pull/7568

--
October 24, 2019
https://issues.dlang.org/show_bug.cgi?id=3632

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |FIXED

--- Comment #36 from RazvanN <razvan.nitu1305@gmail.com> ---
Fixed by: https://github.com/dlang/dmd/pull/9897

--
June 07, 2020
https://issues.dlang.org/show_bug.cgi?id=3632

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |n8sh.secondary@hotmail.com
         Resolution|FIXED                       |---

--- Comment #37 from Nathan S. <n8sh.secondary@hotmail.com> ---
This was incorrectly marked fixed. `float is float` is still not a bitwise comparison.

---
import std.math : isIdentical;
assert(!isIdentical(float.nan, -float.nan)); // passes
assert(float.nan is -float.nan); // also passes
---

--
March 08, 2022
https://issues.dlang.org/show_bug.cgi?id=3632

--- Comment #38 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dkorpel created dlang/dmd pull request #13780 "fix Issue 3632 - modify float is float to do a bitwise compare" fixing this issue:

- fix Issue 3632 - modify float is float to do a bitwise compare

  update TOK & target

  fix xtest46

  Change back to original ufcs test

  Update changes

https://github.com/dlang/dmd/pull/13780

--
April 06, 2022
https://issues.dlang.org/show_bug.cgi?id=3632

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

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

--- Comment #39 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #13780 "fix Issue 3632 - modify float is float to do a bitwise compare" was merged into master:

- 6974a1e2185e29603329860ecfc85822bcfc9657 by Dennis Korpel:
  fix Issue 3632 - modify float is float to do a bitwise compare

https://github.com/dlang/dmd/pull/13780

--