var rnd = {}

var os = use('os')

rnd.random = function()
{
  return (os.random() / 9007199254740992)
}

rnd.random_fit = function()
{
  return os.random();
}

rnd.random_whole = function(num)
{
  return floor(rnd.random() * num)
}

rnd.random_range = function(min,max)
{
  return rnd.random() * (max - min) + min;
}

return rnd
