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
46 double x,w; in bs_random_Gaus() local53 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() local80 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() local107 x = 2*((double)random() / RAND_MAX)-1; in bs_random_Gaus_c_buffer()[all …]