Home
last modified time | relevance | path

Searched refs:x (Results 1 – 2 of 2) sorted by relevance

/babblesim_base-3.6.0-3.5.0/libUtilv1/src/
Dbs_utils.h21 #define BS_MAX( x, y ) ( ( (x) > (y) ) ? (x) : (y) ) //Safe'ish MAX macro (be careful that a and b … argument
25 #define BS_MIN( x, y ) ( ( (x) < (y) ) ? (x) : (y) ) //Safe'ish MIN macro (be careful that a and b … argument
29 #define BS_MOD( x ,y ) ( ( ( (x) % (y) ) + (y) ) % (y) ) //Use this instead of just % to avoid prob… argument
/babblesim_base-3.6.0-3.5.0/libRandv2/src/
Dbs_rand_main.c45 double x,w; in bs_random_Gaus() local
52 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus()
55 w = x * x + y * y; in bs_random_Gaus()
59 toreturn = x * w; in bs_random_Gaus()
75 double x, y, w; in bs_random_Gaus_c() local
79 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus_c()
82 w = x * x + y * y; in bs_random_Gaus_c()
86 toreturn = x * w + ( y * w )*I; in bs_random_Gaus_c()
96 double x, y, w; in bs_random_Gaus_c_buffer() local
106 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus_c_buffer()
[all …]