This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Repository navigation
Remove uses of NCEG operators - #666
Merged
Merged
Conversation
Member
There was a problem hiding this comment.
How about this instead?
if (d1 != d1) // isNaN
return d2 != d2 ? 0 : -1;
else if (d2 != d2)
return 1;
else
return d1 == d2 ? 0 : d1 < d2 ? -1 : 1;
Contributor
Author
There was a problem hiding this comment.
Is that the same thing? I went with the most straightforward translation possible, and now looking at it i have no idea if it's right.
MartinNowak
added a commit
that referenced
this pull request
Nov 22, 2013
Remove uses of NCEG operators
dnadlinger
added a commit
to ldc-developers/druntime
that referenced
this pull request
Jul 5, 2014
… threads. See: GitHub dlang#666.
smolt
added a commit
to smolt/druntime
that referenced
this pull request
Feb 28, 2015
Fiber unittest failure on multiple threads is a known LDC Issue dlang#666. Resolve in core.thread for now by using pthread_setspecific instead of D TLS for sm_this variables. Still need version WIP_FiberIssue set to enable the workaround. Only needed during -O1 or higher builds.
smolt
added a commit
to smolt/druntime
that referenced
this pull request
Jul 18, 2015
OSX suffers from issue ldc-developers/ldc#666 too. Apply same workaround so thread runShared unittest can pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
... because they're planned for deprecation