From fc9a6f1416be514e9d26b301d05e7e347560560b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 3 Nov 2024 22:37:48 -0500 Subject: Add RNGs to the language --- stdlib/bools.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'stdlib/bools.c') diff --git a/stdlib/bools.c b/stdlib/bools.c index c815c733..bc1a6445 100644 --- a/stdlib/bools.c +++ b/stdlib/bools.c @@ -39,11 +39,6 @@ PUREFUNC public OptionalBool_t Bool$from_text(Text_t text) } } -public Bool_t Bool$random(double p) -{ - return (drand48() < p); -} - public const TypeInfo_t Bool$info = { .size=sizeof(bool), .align=__alignof__(bool), -- cgit v1.2.3