Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

Conversation

@thewilsonator
Copy link
Contributor

druntime part dlang/dmd#7995

@dlang-bot
Copy link
Contributor

dlang-bot commented Mar 10, 2018

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 coverage diff by visiting the details link of the codecov check)
  • 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 run digger -- build "master + druntime#2135"

@quickfur
Copy link
Member

LGTM.

@JinShil
Copy link
Contributor

JinShil commented May 18, 2018

@thewilsonator Are you still interested in pursuing this? It appears there are float/real mismatches.

@thewilsonator
Copy link
Contributor Author

Yes, what mismatches are there (I've just got back from Europe so I'm not thinking properly yet)?

@JinShil
Copy link
Contributor

JinShil commented May 19, 2018

what mismatches are there

See the output of the test suite.

@MoonlightSentinel
Copy link
Contributor

What's the status of this PR? The dmd PR has been merged already...

@thewilsonator
Copy link
Contributor Author

Just rebased, lets see what happens.

Comment on lines +215 to +219
float f = 1.1f;
double d = 1.1;
real r = 1.1L;
Copy link
Contributor Author

@thewilsonator thewilsonator Apr 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ibuclaw was there any reason these need to be static? This makes the unittest impure.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To force the code generator (not CTFE) to do the work. Practically the same is done in the test suite, so could remove if you really must.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove it as part of #2871

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That PR seems to have offended the gods of continuous integration, so I'd rather that be done here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added approxEqual, so the Win32 targets should now be happy with their inaccuracies.

@thewilsonator
Copy link
Contributor Author

Needs dlang/phobos#7461

@thewilsonator
Copy link
Contributor Author

Needs dlang/phobos#7461

Is now merged, this should be good to go.

@thewilsonator
Copy link
Contributor Author

Ping @ibuclaw @n8sh

@dlang-bot dlang-bot merged commit d349589 into dlang:master Apr 27, 2020
@thewilsonator thewilsonator deleted the patch-2 branch May 11, 2022 02:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants