Searched refs:x (Results 1 – 2 of 2) sorted by relevance
21 #define BS_MAX( x, y ) ( ( (x) > (y) ) ? (x) : (y) ) //Safe'ish MAX macro (be careful that a and b … argument25 #define BS_MIN( x, y ) ( ( (x) < (y) ) ? (x) : (y) ) //Safe'ish MIN macro (be careful that a and b … argument29 #define BS_MOD( x ,y ) ( ( ( (x) % (y) ) + (y) ) % (y) ) //Use this instead of just % to avoid prob… argument
45 double x,w; in bs_random_Gaus() local52 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() local79 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() local106 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus_c_buffer()[all …]