je ne sais pas trop quoi faire...
This commit is contained in:
parent
090aba2e63
commit
3cc52c0983
@ -52,4 +52,5 @@ for (numbit=0; numbit<8; numbit++) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* ---------------------------------------------------------------- */
|
/* ---------------------------------------------------------------- */
|
||||||
|
/* ---------------------------------------------------------------- */
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ for (loop=0; loop<nbl; loop++) {
|
|||||||
|
|
||||||
for (foo=0; foo<4; foo++) {
|
for (foo=0; foo<4; foo++) {
|
||||||
if (rand()%100<42) {
|
if (rand()%100<42) {
|
||||||
rvals[foo] += 3.9 * (foo + 1);
|
rvals[foo] += 3.97 * (foo + 1);
|
||||||
}
|
}
|
||||||
if (rvals[foo] > 1023.0) {
|
if (rvals[foo] > 1023.0) {
|
||||||
rvals[foo] = (float)(rand() % 25);
|
rvals[foo] = (float)(rand() % 25);
|
||||||
|
Loading…
Reference in New Issue
Block a user