This is an archive of the discontinued LLVM Phabricator instance.

[libc] implement basic rand and srand
ClosedPublic

Authored by michaelrj on Oct 4 2022, 12:01 PM.

Details

Summary

This provides the reference implementation of rand and srand. In future
this will likely be upgraded to something that supports full ints.

Diff Detail

Event Timeline

michaelrj created this revision.Oct 4 2022, 12:01 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 4 2022, 12:01 PM
michaelrj requested review of this revision.Oct 4 2022, 12:01 PM
sivachandra accepted this revision.Oct 4 2022, 12:06 PM
This revision is now accepted and ready to land.Oct 4 2022, 12:06 PM
This revision was automatically updated to reflect the committed changes.