[Issue 4783] atomicOp!"^^" doesn't work b/c it doesn't have access to std.math

2016-10-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4783 Kevin changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 4783] atomicOp!"^^" doesn't work b/c it doesn't have access to std.math

2010-09-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4783 --- Comment #5 from Don 2010-09-01 11:03:58 PDT --- (In reply to comment #3) > Then if ^^ isn't going to be usable w/o importing std.math anytime soon, I > guess we need to get rid of it from core.atomic. Yes. Something so high level has no bu

[Issue 4783] atomicOp!"^^" doesn't work b/c it doesn't have access to std.math

2010-09-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4783 --- Comment #4 from David Simcha 2010-09-01 08:38:37 PDT --- ...or, since the whole thing is based on doing the operation and CASing back the result, we could make a version of atomicOp that takes an arbitrary lambda expression. -- Configure

[Issue 4783] atomicOp!"^^" doesn't work b/c it doesn't have access to std.math

2010-09-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4783 --- Comment #3 from David Simcha 2010-09-01 08:10:51 PDT --- Then if ^^ isn't going to be usable w/o importing std.math anytime soon, I guess we need to get rid of it from core.atomic. -- Configure issuemail: http://d.puremagic.com/issues/use

[Issue 4783] atomicOp!"^^" doesn't work b/c it doesn't have access to std.math

2010-09-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4783 --- Comment #2 from Don 2010-09-01 07:59:05 PDT --- (In reply to comment #1) > That's correct. You need to import std.math if you want to use ^^. Oh sorry. Misunderstood. Yes, ^^ should not be used anywhere in core.* -- Configure issuemail: h

[Issue 4783] atomicOp!"^^" doesn't work b/c it doesn't have access to std.math

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