https://issues.dlang.org/show_bug.cgi?id=3632
Dlang Bot changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
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
update TOK &
https://issues.dlang.org/show_bug.cgi?id=3632
Nathan S. changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC|
https://issues.dlang.org/show_bug.cgi?id=3632
RazvanN changed:
What|Removed |Added
Status|REOPENED|RESOLVED
CC|
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://issues.dlang.org/show_bug.cgi?id=3632
Daniel Kozak changed:
What|Removed |Added
CC||kozz...@gmail.com
--- Comment #34 from Daniel
https://issues.dlang.org/show_bug.cgi?id=3632
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|unspecified |D2
--
https://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #32 from yebblies yebbl...@gmail.com 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
https://d.puremagic.com/issues/show_bug.cgi?id=3632
Denis Shelomovskij verylonglogin@gmail.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #30 from Denis Shelomovskij verylonglogin@gmail.com
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,
https://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #31 from yebblies yebbl...@gmail.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #28 from yebblies yebbl...@gmail.com 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
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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #27 from Walter Bright bugzi...@digitalmars.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #23 from github-bugzi...@puremagic.com 2012-02-17 16:40:35 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #24 from Walter Bright bugzi...@digitalmars.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #25 from yebblies yebbl...@gmail.com 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
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 in
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #22 from yebblies yebbl...@gmail.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Keywords||pull
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #19 from Steven Schveighoffer schvei...@yahoo.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #14 from Don clugd...@yahoo.com.au 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #15 from Walter Bright bugzi...@digitalmars.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #16 from Don clugd...@yahoo.com.au 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.
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #17 from Steven Schveighoffer schvei...@yahoo.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #18 from Steven Schveighoffer schvei...@yahoo.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
kenn...@gmail.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=3632
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Status|RESOLVED|REOPENED
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #8 from Walter Bright bugzi...@digitalmars.com 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.
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 apart
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #10 from Walter Bright bugzi...@digitalmars.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #11 from yebblies yebbl...@gmail.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #12 from Walter Bright bugzi...@digitalmars.com 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
http://d.puremagic.com/issues/show_bug.cgi?id=3632
--- Comment #13 from yebblies yebbl...@gmail.com 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.
http://d.puremagic.com/issues/show_bug.cgi?id=3632
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3632
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=3632
kenn...@gmail.com changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3632
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Keywords||patch
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3632
Don clugd...@yahoo.com.au changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
---
39 matches
Mail list logo