Skip to content

Conversation

@thewilsonator
Copy link
Contributor

rebase of #8002

@dlang-bot
Copy link
Contributor

Thanks for your pull request and interest in making D better, @thewilsonator! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the annotated coverage diff directly on GitHub with CodeCov's browser extension
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + dmd#8942"

@thewilsonator
Copy link
Contributor Author

WTF is with circle? The code explicitly checks to disable 64bit bswap.

@thewilsonator
Copy link
Contributor Author

std.math:3789 fails assert(ilogb(nextUp(-double.min_normal)) == -1023);
std.bitmanip fails in

static foreach (T; AliasSeq!(byte, short, int, long))
    assert(bitsSet(T.min).equal([8 * T.sizeof - 1]));

@thewilsonator
Copy link
Contributor Author

thewilsonator commented Nov 11, 2018

Hmm, ilogb uses bsr, bitsSet uses bsf, maybe fd.parameters && (*fd.parameters)[0].type == Type.tuns64 doesn't work the way I think it should?

@thewilsonator
Copy link
Contributor Author

Aaaaand back to the fail on 32bit.

@thewilsonator
Copy link
Contributor Author

deleting this so the druntime PR on branch with same name works, will come back to this soon.

@thewilsonator thewilsonator deleted the thewilsonator-patch-1 branch November 13, 2018 02:53
@rainers
Copy link
Member

rainers commented Nov 13, 2018

deleting this so the druntime PR on branch with same name works, will come back to this soon.

IIRC this only happens if the branch is from the dlang repository, not your fork. Unfortunately, when starting a patch from the web interface it defaults to use dlang.

@thewilsonator
Copy link
Contributor Author

And its mode more complicated by the fact that my druntime fork is from LDC.

@PetarKirov
Copy link
Member

@thewilsonator if you click on the "Fork" button on the upstream repo, you get to choose where you want to make a new fork: to your personal account, or to any organization you have the rights to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants