%PDF- %PDF-
| Direktori : /proc/thread-self/root/usr/lib/python3/dist-packages/pythran/pythonic/random/ |
| Current File : //proc/thread-self/root/usr/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