This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][Offloading] Change the way to compare floating point values in bug49334.cpp
ClosedPublic

Authored by tianshilei1992 on Feb 10 2022, 2:15 PM.

Details

Summary

bug49334.cpp directly uses != to compare two floating point values,
which is almost wrong.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Feb 10 2022, 2:15 PM
tianshilei1992 requested review of this revision.Feb 10 2022, 2:15 PM
Herald added a project: Restricted Project. · View Herald Transcript
jhuber6 accepted this revision.Feb 10 2022, 3:11 PM
jhuber6 added a subscriber: jhuber6.

LG

This revision is now accepted and ready to land.Feb 10 2022, 3:11 PM