This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Ensure that 0. <= RANDOM_NUMBER() < 1.
ClosedPublic

Authored by klausler on Jun 3 2022, 3:51 PM.

Details

Summary

It was possible for RANDOM_NUMBER() to return 1.0.

Diff Detail

Event Timeline

klausler created this revision.Jun 3 2022, 3:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2022, 3:51 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jun 3 2022, 3:51 PM
vdonaldson accepted this revision.Jun 3 2022, 4:52 PM
This revision is now accepted and ready to land.Jun 3 2022, 4:52 PM
This revision was automatically updated to reflect the committed changes.