TheChess
|
00001 /* 00002 * thechess, chess game web application written in C++ and based on Wt 00003 * Copyright (C) 2010 Boris Nagaev 00004 * 00005 * thechess is licensed under the GNU GPL Version 2. 00006 * Other versions of the GPL do not apply. 00007 * See the LICENSE file for terms of use. 00008 */ 00009 00010 00011 #include <cstddef> 00012 00013 namespace thechess { 00014 namespace random { 00015 00016 unsigned int rand(); 00017 00018 unsigned int rr(unsigned int stop); 00019 unsigned int rr(unsigned int start, unsigned int stop); 00020 unsigned int rr(unsigned int start, unsigned int stop, unsigned int step); 00021 00022 double drr(double start, double stop); 00023 00024 ptrdiff_t rand_for_shuffle(ptrdiff_t i); 00025 00026 } 00027 }