%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/random.hpp

#ifndef PYTHONIC_RANDOM_RANDOM_HPP
#define PYTHONIC_RANDOM_RANDOM_HPP

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

#include "pythonic/utils/functor.hpp"
#include <random>

PYTHONIC_NS_BEGIN

namespace random
{

  double random()
  {
    static std::uniform_real_distribution<> uniform_distrib(0.0, 1.0);
    return uniform_distrib(__random_generator);
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0