Источник
Код: Выделить всё
public static float NextFloatRange(float min, float max)
{
return (min - max) * ((float)(XORShift()
Подробнее здесь: [url]https://stackoverflow.com/questions/78314262/need-help-understanding-this-floating-point-magic[/url]
Мобильная версия