System.Random function bugfix

This commit is contained in:
Владислав Джавадов 2020-06-24 16:23:19 +03:00
parent 8fe7482d92
commit e397ace02c

View File

@ -281,7 +281,7 @@ end;
function _RandExt: Extended; function _RandExt: Extended;
begin begin
Result := 1 / RandInt(1, $FFFFFFFE); Result := 1 / RandInt(2, $FFFFFFFF);
end; end;
procedure Randomize; procedure Randomize;