Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/JAVA/Openclaw/scripts/   (Openclaw AI Version 22©)  Datei vom 26.3.2026 mit Größe 36 kB image not shown  

 Random.sig   Interaktion und
Portierbarkeitunbekannt

 
Spracherkennung für: .sig vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

(*  Title:      Tools/random_word.ML
    Author:     Makarius

Simple generator for pseudo-random numbers, using unboxed word
arithmetic only.  Unprotected concurrency introduces some true
randomness.
*)

signature Random =
sig

  val nextWord : unit -> word

  val nextBool : unit -> bool

  val nextInt : int -> int  (* k -> [0,k) *)

  val nextReal : unit -> real  (* () -> [0,1) *)

end;

[Konzepte0.16Was zu einem Entwurf gehörtWie die Entwicklung von Software durchgeführt wird2026-06-29]