1 /*
2     Copyright (C) 2014 Abhinav Baid
3 
4     This file is part of FLINT.
5 
6     FLINT is free software: you can redistribute it and/or modify it under
7     the terms of the GNU Lesser General Public License (LGPL) as published
8     by the Free Software Foundation; either version 2.1 of the License, or
9     (at your option) any later version.  See <https://www.gnu.org/licenses/>.
10 */
11 
12 #include "d_vec.h"
13 
14 void
_d_vec_randtest(double * f,flint_rand_t state,slong len,slong minexp,slong maxexp)15 _d_vec_randtest(double *f, flint_rand_t state, slong len, slong minexp,
16                 slong maxexp)
17 {
18     slong i;
19 
20     for (i = 0; i < len; i++)
21         f[i] = d_randtest_signed(state, minexp, maxexp);
22 }
23