8 int main(
int argc,
char** argv)
12 fprintf(stderr,
"Usage: %s nb_floats\n", argv[0]);
17 int n = atoi(argv[1]);
19 int frand = open(
"/dev/urandom", O_RDONLY);
20 read(frand, &seed,
sizeof(
unsigned int));
24 for (i=0; i < n; i++) {
25 float f = (float) rand();
26 fwrite(&
f,
sizeof(
float), 1, stdout);
int main(int argc, char **argv)
#define EXIT_SUCCESS
NetBSD 5.0 mis-defines NULL.
#define EXIT_FAILURE
Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere with proper operation of xarg...
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...