X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsn_random.h;h=802d11f8730ada812d8d68701762046145ba4c72;hb=8764b3122abba9e60cacb591f16a5e71abb5155f;hp=3c01c5665f50ebc7867662f81710ebb72743eb5e;hpb=993228caa1003ec75b96ee8f98824a13c4a2a4b0;p=sort-networks.git diff --git a/src/sn_random.h b/src/sn_random.h index 3c01c56..802d11f 100644 --- a/src/sn_random.h +++ b/src/sn_random.h @@ -1,3 +1,24 @@ +/** + * libsortnetwork - src/sn_random.h + * Copyright (C) 2008-2010 Florian octo Forster + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; only version 2 of the License is applicable. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * Authors: + * Florian octo Forster + **/ + #ifndef SN_RANDOM_H #define SN_RANDOM_H 1 @@ -5,5 +26,6 @@ int sn_random (void); int sn_true_random (void); int sn_bounded_random (int min, int max); +double sn_double_random (void); #endif /* SN_RANDOM_H */