Home
last modified time | relevance | path

Searched refs:DRAND (Results 1 – 25 of 59) sorted by relevance

123

/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/glsl-1.10/execution/
H A Dbuilt-in-uniform-state.c156 v[i] = DRAND(); in random_vec4()
207 val[0] = DRAND(); in piglit_display()
208 val[1] = DRAND(); in piglit_display()
232 val[0] = DRAND(); in piglit_display()
236 val[0] = DRAND(); in piglit_display()
241 val[0] = DRAND(); in piglit_display()
246 val[0] = DRAND(); in piglit_display()
252 val[0] = DRAND(); in piglit_display()
253 val[1] = DRAND(); in piglit_display()
254 val[2] = DRAND(); in piglit_display()
[all …]
H A Dbuilt-in-matrix-state.c44 #define DRAND() ((float)rand() / RAND_MAX) macro
47 #define DRAND() drand48()
164 m[i] = DRAND(); in load_matrix()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/nv_texture_env_combine4/
H A Dcombine.c53 #define DRAND() drand48()
72 if (DRAND() > 0.5f) in generate_state()
78 int src = (int)(DRAND() * 4.0); in generate_state()
94 if (DRAND() > 0.5f) { in generate_state()
103 state->primary_color[0] = DRAND(); in generate_state()
104 state->primary_color[1] = DRAND(); in generate_state()
105 state->primary_color[2] = DRAND(); in generate_state()
106 state->primary_color[3] = DRAND(); in generate_state()
113 state->texture_color[0] = DRAND(); in generate_state()
114 state->texture_color[1] = DRAND(); in generate_state()
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_vertex_program/
H A Dproperty-bindings.c45 #define DRAND() ((float)rand() / RAND_MAX) macro
48 #define DRAND() drand48()
133 v[i] = DRAND(); in random_vec4()
196 val[0] = DRAND(); in piglit_display()
240 val[c] = DRAND(); in piglit_display()
258 scene_color[c] = val[c] = DRAND(); in piglit_display()
261 scene_color[c] *= val[c] = DRAND(); in piglit_display()
264 scene_color[c] += val[c] = DRAND(); in piglit_display()
296 light_product[c] = val[c] = DRAND(); in piglit_display()
299 light_product[c] *= val[c] = DRAND(); in piglit_display()
[all …]
H A Dmatrix-property-bindings.c45 #define DRAND() ((float)rand() / RAND_MAX) macro
48 #define DRAND() drand48()
157 m[i] = DRAND(); in load_matrix()
/dports/games/cave9/cave9-e6896eb/src/
H A Dgame.c51 float change = DRAND; in generate_stalactites()
76 return DRAND < prob ? 1 : mult_y; in generate_stalactites()
112 ship->pos[0] + (r * mult_x * cos_a) + 2 * DRAND, in cave_gen()
113 ship->pos[1] + (r * mult_y * sin_a) + 2 * DRAND, in cave_gen()
269 DRAND < twist*noise || in digger_control()
276 if(DRAND>twist/2) in digger_control()
280 if(DRAND>twist/2) in digger_control()
302 digger->x_right_radius += DRAND - 0.5; in digger_control()
303 digger->y_top_radius += DRAND - 0.5; in digger_control()
304 digger->x_left_radius += DRAND - 0.5; in digger_control()
[all …]
H A Ddetrand.h29 #define DRAND (detrand() / 2.0 + 0.5) macro
30 #define DRAND_BIG (int)(DRAND * RAND_MAX)
/dports/math/fftw-float/fftw-2.1.5/tests/
H A Dfftw_test.c172 c_re(a[i]) = DRAND(); in fill_random()
173 c_im(a[i]) = DRAND(); in fill_random()
293 c_re(alpha) = DRAND(); in test_ergun()
294 c_im(alpha) = DRAND(); in test_ergun()
295 c_re(beta) = DRAND(); in test_ergun()
296 c_im(beta) = DRAND(); in test_ergun()
403 c_re(alpha) = DRAND(); in testnd_ergun()
404 c_im(alpha) = DRAND(); in testnd_ergun()
405 c_re(beta) = DRAND(); in testnd_ergun()
406 c_im(beta) = DRAND(); in testnd_ergun()
[all …]
/dports/math/fftw/fftw-2.1.5/tests/
H A Dfftw_test.c172 c_re(a[i]) = DRAND(); in fill_random()
173 c_im(a[i]) = DRAND(); in fill_random()
293 c_re(alpha) = DRAND(); in test_ergun()
294 c_im(alpha) = DRAND(); in test_ergun()
295 c_re(beta) = DRAND(); in test_ergun()
296 c_im(beta) = DRAND(); in test_ergun()
403 c_re(alpha) = DRAND(); in testnd_ergun()
404 c_im(alpha) = DRAND(); in testnd_ergun()
405 c_re(beta) = DRAND(); in testnd_ergun()
406 c_im(beta) = DRAND(); in testnd_ergun()
[all …]
/dports/chinese/FreeWnn-lib/FreeWnn-1.1.1-a021/Wnn/include/
H A Dwnn_os.h104 # define DRAND() drand48 () macro
107 # define DRAND() ((double) random() / (double) RAND_MAX) macro
110 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/chinese/FreeWnn-server/FreeWnn-1.1.1-a021/Wnn/include/
H A Dwnn_os.h104 # define DRAND() drand48 () macro
107 # define DRAND() ((double) random() / (double) RAND_MAX) macro
110 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/japanese/FreeWnn-server/FreeWnn-1.1.1-a021/Wnn/include/
H A Dwnn_os.h104 # define DRAND() drand48 () macro
107 # define DRAND() ((double) random() / (double) RAND_MAX) macro
110 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/japanese/FreeWnn-lib/FreeWnn-1.1.1-a021/Wnn/include/
H A Dwnn_os.h104 # define DRAND() drand48 () macro
107 # define DRAND() ((double) random() / (double) RAND_MAX) macro
110 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/korean/FreeWnn-lib/FreeWnn-1.1.1-a021/Wnn/include/
H A Dwnn_os.h104 # define DRAND() drand48 () macro
107 # define DRAND() ((double) random() / (double) RAND_MAX) macro
110 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/korean/FreeWnn-server/FreeWnn-1.1.1-a021/Wnn/include/
H A Dwnn_os.h104 # define DRAND() drand48 () macro
107 # define DRAND() ((double) random() / (double) RAND_MAX) macro
110 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/science/nwchem-data/nwchem-7.0.2-release/src/mcscf/detci/
H A Ddetci_driver.F43 DOUBLE PRECISION DRAND
44 EXTERNAL DRAND
50 XX = DRAND(234)
/dports/science/nwchem-data/nwchem-7.0.2-release/src/mcscf/detci_sym/
H A Ddetci_driver.F43 DOUBLE PRECISION DRAND
44 EXTERNAL DRAND
50 XX = DRAND(234)
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/mcscf/detci/
H A Ddetci_driver.F43 DOUBLE PRECISION DRAND
44 EXTERNAL DRAND
50 XX = DRAND(234)
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/mcscf/detci_sym/
H A Ddetci_driver.F43 DOUBLE PRECISION DRAND
44 EXTERNAL DRAND
50 XX = DRAND(234)
/dports/japanese/canna-server/Canna37p3/canuum/
H A Dwnn_os.h156 # define DRAND() drand48 () macro
159 # define DRAND() ((double) random() / (double) RAND_MAX) macro
162 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/japanese/canna-lib/Canna37p3/canuum/
H A Dwnn_os.h156 # define DRAND() drand48 () macro
159 # define DRAND() ((double) random() / (double) RAND_MAX) macro
162 # define DRAND() ((double) rand() / (double) RAND_MAX) macro
/dports/math/fftw/fftw-2.1.5/threads/
H A Dfftw_threads_test.c200 c_re(in1[i * istride]) = c_re(in2[i]) = DRAND(); in test_out_of_place()
201 c_im(in1[i * istride]) = c_im(in2[i]) = DRAND(); in test_out_of_place()
282 c_re(in1[i * istride]) = c_re(in2[i]) = DRAND(); in test_in_place()
283 c_im(in1[i * istride]) = c_im(in2[i]) = DRAND(); in test_in_place()
446 c_re(in2[i]) = DRAND(); in testnd_out_of_place()
447 c_im(in2[i]) = DRAND(); in testnd_out_of_place()
534 c_re(in2[i]) = DRAND(); in testnd_in_place()
535 c_im(in2[i]) = DRAND(); in testnd_in_place()
/dports/math/fftw-float/fftw-2.1.5/threads/
H A Dfftw_threads_test.c200 c_re(in1[i * istride]) = c_re(in2[i]) = DRAND(); in test_out_of_place()
201 c_im(in1[i * istride]) = c_im(in2[i]) = DRAND(); in test_out_of_place()
282 c_re(in1[i * istride]) = c_re(in2[i]) = DRAND(); in test_in_place()
283 c_im(in1[i * istride]) = c_im(in2[i]) = DRAND(); in test_in_place()
446 c_re(in2[i]) = DRAND(); in testnd_out_of_place()
447 c_im(in2[i]) = DRAND(); in testnd_out_of_place()
534 c_re(in2[i]) = DRAND(); in testnd_in_place()
535 c_im(in2[i]) = DRAND(); in testnd_in_place()
/dports/chinese/FreeWnn-lib/FreeWnn-1.1.1-a021/Wnn/jserver/
H A Ddo_hindo_s.c150 if ((hindo & 0x7e) != 0x7e && (DRAND () < (double) 1 / ((hindo >> 2) + 1)))
154 if (hindo > 0 && hindo <= 126 && (DRAND () < (double) 1 / ((hindo >> 2) + 1)))
/dports/chinese/FreeWnn-server/FreeWnn-1.1.1-a021/Wnn/jserver/
H A Ddo_hindo_s.c150 if ((hindo & 0x7e) != 0x7e && (DRAND () < (double) 1 / ((hindo >> 2) + 1)))
154 if (hindo > 0 && hindo <= 126 && (DRAND () < (double) 1 / ((hindo >> 2) + 1)))

123