File: rand.h

package info (click to toggle)
pd-cyclone 0.2~beta3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,704 kB
  • ctags: 5,170
  • sloc: ansic: 36,778; makefile: 363; sh: 52; sed: 1
file content (15 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Copyright (c) 2002-2004 krzYszcz and others.
 * For information on usage and redistribution, and for a DISCLAIMER OF ALL
 * WARRANTIES, see the file, "LICENSE.txt," in this distribution.  */

#ifndef __RAND_H__
#define __RAND_H__

#define RAND_DEBUG

void rand_seed(unsigned int *statep, unsigned int seed);
int rand_int(unsigned int *statep, int range);
float rand_unipolar(unsigned int *statep);
float rand_bipolar(unsigned int *statep);

#endif