Oleg N. Cher, попробуй что-то вроде:
Код:
return (_Basic_RandBB()*(max-min+1) ) >> 16 + min;