This is an archive of the discontinued LLVM Phabricator instance.

[libc] Include nextafter's functions to Windows's entrypoints
ClosedPublic

Authored by hedingarcia on Jul 20 2021, 1:58 PM.

Details

Summary

Incorporated the varied functions for nextafter and refactored
NextAfterTest.h to correctly define bitWidthOfType for both
Linux and Windows; by letting FloatProperties take care
of the directives' logic based on the platform being used.
This allows to successfully run nextafter's tests.

Diff Detail

Event Timeline

hedingarcia created this revision.Jul 20 2021, 1:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2021, 1:58 PM
hedingarcia requested review of this revision.Jul 20 2021, 1:58 PM
sivachandra accepted this revision.Jul 21 2021, 1:22 AM
This revision is now accepted and ready to land.Jul 21 2021, 1:22 AM
This revision was landed with ongoing or failed builds.Jul 21 2021, 6:28 AM
This revision was automatically updated to reflect the committed changes.