summaryrefslogtreecommitdiff
path: root/interfaces/int_rand.h
blob: 85d08eaec28824b647e72a0a88d76579a95285f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
 * 
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
 * you should have received as part of this distribution.  The terms
 * are also available at    
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 *
 */

/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */

#ifndef __INT_RAND_H__
#define __INT_RAND_H__


#define rands0()				srands()

#define randd0()				drands()

#define randu80()                               u8rands()

#define randu160()                              u16rands()

#define randi80()                               i8rands()

#define randi160()                              i16rands()



#define s0rands0(in)			srands()

#define d0randd0(in)			drands()

#define c0randc0(in)			crands()

#define z0randz0(in)			zrands()

#define u80randd0(in)                  u8rands()

#define u160randd0(in)                u16rands()

#define i80randd0(in)                  i8rands()

#define i160randd0(in)                i16rands()


#define s0s0rands0(in1,in2)			srands()

#define d0d0randd0(in,in2)			drands()

#define u80u80randd0(in1,in2)                  u8rands()

#define u160u160randd0(in1,in2)             u16rands()

#define i80i80randd0(in1,in2)                i8rands()

#define i160i160randd0(in1,in2)             i16rands()


#define s0s0rands2(in1,in2,out)		sranda(out,(int)in1*(int)in2)	

#define d0d0randd2(in1,in2,out)		dranda(out,(int)in1*(int)in2)

#define u80u80randd2(in1,in2,out)      u8randa(out,(int)in1*(int)in2)

#define u160u160randd2(in1,in2,out)   u16randa(out,(int)in1*(int)in2)

#define i80i80randd2(in1,in2,out)      i8randa(out,(int)in1*(int)in2)

#define i160i160randd2(in1,in2,out)      i16randa(out,(int)in1*(int)in2)

#define s2rands2(in,size,out)		sranda(out, size[0]*size[1])

#define d2randd2(in,size,out)		dranda(out, size[0]*size[1])

#define c2randc2(in,size,out)		cranda(out, size[0]*size[1])

#define z2randz2(in,size,out)		zranda(out, size[0]*size[1])

#define u82randd2(in,size,out)         u8randa(out, size[0]*size[1])

#define u162randd2(in,size,out)       u16randa(out, size[0]*size[1])

#define i82randd2(in,size,out)         i8randa(out, size[0]*size[1])

#define i62randd2(in,size,out)         i16randa(out, size[0]*size[1])




#endif /* !__INT_RAND_H__ */