Last active
March 10, 2017 14:22
-
-
Save guyzmo/9f92fca74335f6fae1bdd07ef2e1f070 to your computer and use it in GitHub Desktop.
float_random snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with Ada.Numerics.Float_Random; | |
declare | |
Seed : Ada.Numerics.Float_Random.Generator; | |
begin | |
delay Duration (Ada.Numerics.Float_Random.Random (Seed) * 0.500); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment