Stuff
public text v1 · immutable#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
int main(){
//int random_integer;
unsigned int i;
//time_t t;
const unsigned int maxloop = 8000000;
unsigned int array[maxloop];
//t = time(0);
/*
if(t==-1){
printf("Can't get the time\n");
return 0;
}
*/
srand(23498051);
for(i=0;i<maxloop;++i){
array[i] = rand();
}
for(i=0;i<maxloop;++i){
printf("cosf(%f) = %f\n",(float)array[i],cosf((float)array[i]));
}
return 0;
}