diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 22:37:48 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 22:37:48 -0500 |
| commit | fc9a6f1416be514e9d26b301d05e7e347560560b (patch) | |
| tree | 7d61cc3657c36dde05135f17dbf5923cff177abf /stdlib/bools.c | |
| parent | 52e3d3fe6f2c3e5051affe155fed364d1a5d623c (diff) | |
Add RNGs to the language
Diffstat (limited to 'stdlib/bools.c')
| -rw-r--r-- | stdlib/bools.c | 5 |
1 files changed, 0 insertions, 5 deletions
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), |
