Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llroundl is available on windows, so why not use it? #7157

Closed
wants to merge 1 commit into from

Conversation

John-Colvin
Copy link
Contributor

I suspect this PR will fall foul of some platforms/runtimes... let's see :)

@dlang-bot
Copy link
Contributor

Thanks for your pull request and interest in making D better, @John-Colvin! 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 fetch digger
dub run digger -- build "master + phobos#7157"

@ghost
Copy link

ghost commented Aug 27, 2019

Windows has no 80-bit floating point type. Long double in C is just double. That's probably why it wasn't implemented. Don't know why there's only a "real" overload in D either though...

@John-Colvin
Copy link
Contributor Author

So... Windows 32 has llroundl declared but not actually present in the C runtime by the looks of things.

Is the autotester Win_32 working with DigitalMars or Microsoft C runtime?

@thewilsonator
Copy link
Contributor

Digital Mars.

@John-Colvin
Copy link
Contributor Author

John-Colvin commented Aug 28, 2019 via email

@PetarKirov
Copy link
Member

PetarKirov commented Aug 28, 2019

What system tests with the 32 bit Microsoft runtime?

Look for the Win_32_64 rows on the auto-tester.

It looks phobos is not independently tested with -m32mscoff.

@PetarKirov
Copy link
Member

If you want to test with -m32mscoff, the best would be to setup Azure Pipelines, similarly to how it's done for dmd:

@RazvanN7
Copy link
Collaborator

std/math.d no longer exists; it has been refactored into multiple files. Right now the functions touched by this PR no longer call core.stdc.math.llroundl only for Posix. It has been refactored to assert if version=CRuntime_DigitalMars, which is correct.

Closing this.

@RazvanN7 RazvanN7 closed this Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants