@@ -140,7 +140,7 @@ void rand_array_ui32( unsigned int *out, const unsigned int len, const unsigned
140
140
* @param x input array
141
141
* @param len array length
142
142
*/
143
- void ui32_to_f64 ( double * out , unsigned int * x , unsigned int len ) {
143
+ void ui32_to_f64 ( double * out , unsigned const int * x , unsigned int len ) {
144
144
unsigned int i ;
145
145
146
146
for ( i = 0 ; i < len ; i ++ ) {
@@ -155,7 +155,7 @@ void ui32_to_f64( double *out, unsigned int *x, unsigned int len ) {
155
155
* @param x input array
156
156
* @param len array length
157
157
*/
158
- void f64_to_ui32 ( unsigned int * out , double * x , unsigned int len ) {
158
+ void f64_to_ui32 ( unsigned int * out , const double * x , unsigned int len ) {
159
159
unsigned int i ;
160
160
161
161
for ( i = 0 ; i < len ; i ++ ) {
@@ -334,7 +334,7 @@ void muldws1( int *w, const int u, const int v ) {
334
334
* @param len number of values in the domain
335
335
* @param name output filename
336
336
*/
337
- void generate ( unsigned int * a , unsigned int * b , const unsigned int len , const char * name ) {
337
+ void generate ( unsigned const int * a , unsigned const int * b , const unsigned int len , const char * name ) {
338
338
unsigned int i ;
339
339
unsigned int * y ;
340
340
FILE * f ;
0 commit comments