[Issue 3632] modify float is float to do a bitwise compare

2022-04-06 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #39 from Dlang Bot --- 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 bitwi

[Issue 3632] modify float is float to do a bitwise compare

2022-03-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3632 --- Comment #38 from Dlang Bot --- @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

[Issue 3632] modify float is float to do a bitwise compare

2020-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3632 Nathan S. changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 3632] modify float is float to do a bitwise compare

2019-10-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3632 RazvanN changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Issue 3632] modify float is float to do a bitwise compare

2019-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3632 --- Comment #35 from Dlang Bot --- @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://

[Issue 3632] modify float is float to do a bitwise compare

2019-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3632 Daniel Kozak changed: What|Removed |Added CC||kozz...@gmail.com --- Comment #34 from Daniel

[Issue 3632] modify float is float to do a bitwise compare

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3632 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --

[Issue 3632] modify float is float to do a bitwise compare

2015-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3632 --- Comment #33 from Denis Shelomovskij --- (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 ---

[Issue 3632] modify float is float to do a bitwise compare

2013-11-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #32 from yebblies 2013-11-15 18:02:51 EST --- *** Issue 11442 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail be

[Issue 3632] modify float is float to do a bitwise compare

2013-11-05 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #31 from yebblies 2013-11-05 21:20:15 EST --- (In reply to comment #30) > Looks like we have bitwise comparison at runtime, but `f_is` generates some > long assembly code in contrast to `i_is`: > --- > bool f_is(float f1, float f2)

[Issue 3632] modify float is float to do a bitwise compare

2013-11-05 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #30 from Denis Shelomovskij 2013-11-05 13:02:09 MSK --- Looks like we have bitwise comparison at runtime, but `f_is` generates some long assembly code in contrast to `i_is`: --- bool f_is(float f1, float f2) { return f1 is f2; }

[Issue 3632] modify float is float to do a bitwise compare

2013-11-05 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3632 Denis Shelomovskij changed: What|Removed |Added CC||verylonglogin@gmail.com ---

[Issue 3632] modify float is float to do a bitwise compare

2013-01-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #28 from yebblies 2013-01-17 16:08:29 EST --- New (and hopefully last) pull https://github.com/D-Programming-Language/dmd/pull/1499 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are rece

[Issue 3632] modify float is float to do a bitwise compare

2012-04-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #27 from Walter Bright 2012-04-27 15:43:54 PDT --- Reverted because their tests failed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 3632] modify float is float to do a bitwise compare

2012-04-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #26 from github-bugzi...@puremagic.com 2012-04-27 15:06:20 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f9c21c2a77e32d310c8cb9d6c23f517d410cbe

[Issue 3632] modify float is float to do a bitwise compare

2012-02-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #25 from yebblies 2012-02-18 13:36:57 EST --- New pull to revert the revert. https://github.com/D-Programming-Language/dmd/pull/730 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are rec

[Issue 3632] modify float is float to do a bitwise compare

2012-02-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #24 from Walter Bright 2012-02-17 17:22:43 PST --- change reverted - does not work -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 3632] modify float is float to do a bitwise compare

2012-02-17 Thread d-bugmail
/b558967f56b3702557e5c70132e77dd05561f2e3 Merge pull request #724 from yebblies/issue3632 Issue 3632 - modify float is float to do a bitwise compare -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 3632] modify float is float to do a bitwise compare

2012-02-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #22 from yebblies 2012-02-17 00:08:26 EST --- (In reply to comment #21) > This is what I was asking in the closed down issue 3981 I know, that's why I closed issue 3981 with a comment saying that part was covered by this report...

[Issue 3632] modify float is float to do a bitwise compare

2012-02-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #21 from bearophile_h...@eml.cc 2012-02-16 04:44:31 PST --- (In reply to comment #20) > - I really believe that the advantages > of 'is' always being a straight bitwise comparison outweigh the downsides. This is what I was asking i

[Issue 3632] modify float is float to do a bitwise compare

2012-02-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 yebblies changed: What|Removed |Added Keywords||pull AssignedTo|nob...@puremagic.com

[Issue 3632] modify float is float to do a bitwise compare

2011-07-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #19 from Steven Schveighoffer 2011-07-18 06:37:46 PDT --- (In reply to comment #18) > (In reply to comment #7) > > Reopening as the commit above will cause the following assert to fail: > > static assert(real.init !is real.nan); >

[Issue 3632] modify float is float to do a bitwise compare

2011-06-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #18 from Steven Schveighoffer 2011-06-28 05:02:11 PDT --- (In reply to comment #7) > Reopening as the commit above will cause the following assert to fail: > static assert(real.init !is real.nan); If they are not the same bit patt

[Issue 3632] modify float is float to do a bitwise compare

2011-06-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #17 from Steven Schveighoffer 2011-06-28 04:56:43 PDT --- (In reply to comment #11) > The use case I can remember being discussed is using 'v is float.init' to > determine if a floating point value is uninitialized or is a nan due

[Issue 3632] modify float is float to do a bitwise compare

2011-06-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #16 from Don 2011-06-28 04:43:29 PDT --- (In reply to comment #15) > (In reply to comment #14) > > I use it all the time, mainly for distinguishing between +0.0 and -0.0 > > 'is' does distinguish between +0 and -0. Just not -Nan an

[Issue 3632] modify float is float to do a bitwise compare

2011-06-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #15 from Walter Bright 2011-06-28 02:17:47 PDT --- (In reply to comment #14) > I use it all the time, mainly for distinguishing between +0.0 and -0.0 'is' does distinguish between +0 and -0. Just not -Nan and +Nan, nor the Nan pay

[Issue 3632] modify float is float to do a bitwise compare

2011-06-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #14 from Don 2011-06-28 01:08:25 PDT --- (In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > This is intended. All nans are regarded as the same (even signalling and > > > non-signalling). > > So

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #13 from yebblies 2011-06-27 21:25:22 PDT --- (In reply to comment #12) > The current behavior matches template argument matching. Making it different > from such will introduce all kinds of anomalous behavior. Fair enough. I'm no

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #12 from Walter Bright 2011-06-27 21:08:47 PDT --- (In reply to comment #11) > Making 'is' for floating point types consistent with 'is' for other types > seems > to me like a better move than introducing a new special case. The

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #11 from yebblies 2011-06-27 20:40:16 PDT --- (In reply to comment #10) > I've been around numerics for 35 years now, and I've never seen a use for NaN > payloads. I've never seen anyone even propose a use. Until then, I suspect > s

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #10 from Walter Bright 2011-06-27 14:51:23 PDT --- (In reply to comment #9) > (In reply to comment #8) > > This is intended. All nans are regarded as the same (even signalling and > > non-signalling). > So we have to use std.math.i

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #9 from bearophile_h...@eml.cc 2011-06-27 13:33:12 PDT --- (In reply to comment #8) > This is intended. All nans are regarded as the same (even signalling and > non-signalling). So we have to use std.math.isIdentical() to tell apar

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 --- Comment #8 from Walter Bright 2011-06-27 11:32:17 PDT --- (In reply to comment #7) > Reopening as the commit above will cause the following assert to fail: > static assert(real.init !is real.nan); This is intended. All nans are regarded a

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 yebblies changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Issue 3632] modify float is float to do a bitwise compare

2011-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 kenn...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 3632] modify float is float to do a bitwise compare

2011-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 kenn...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 3632] modify float is float to do a bitwise compare

2011-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 3632] modify float is float to do a bitwise compare

2011-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3632] modify float is float to do a bitwise compare

2011-06-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 yebblies changed: What|Removed |Added Keywords||patch CC|

[Issue 3632] modify float is float to do a bitwise compare

2009-12-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3632 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #1 from Don 2