%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/pythran/pythonic/random/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/pythran/pythonic/random/randint.hpp

#ifndef PYTHONIC_RANDOM_RANDINT_HPP
#define PYTHONIC_RANDOM_RANDINT_HPP

#include "pythonic/include/random/randint.hpp"

#include "pythonic/utils/functor.hpp"
#include "pythonic/random/randrange.hpp"

PYTHONIC_NS_BEGIN

namespace random
{

  long randint(long a, long b)
  {
    // TODO: It should be implemented with an uniform_int_distribution
    return randrange(a, b + 1);
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0