Home
last modified time | relevance | path

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

/babblesim_base-3.7.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.7.0/libRandv2/src/
Dbs_rand_main.c46 double x,w; in bs_random_Gaus() local
53 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus()
56 w = x * x + y * y; in bs_random_Gaus()
60 toreturn = x * w; in bs_random_Gaus()
76 double x, y, w; in bs_random_Gaus_c() local
80 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus_c()
83 w = x * x + y * y; in bs_random_Gaus_c()
87 toreturn = x * w + ( y * w )*I; in bs_random_Gaus_c()
97 double x, y, w; in bs_random_Gaus_c_buffer() local
107 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus_c_buffer()
[all …]