mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
some spacing for clarity in SharedUtil
This commit is contained in:
parent
32b52f474f
commit
e012f826e5
1 changed files with 3 additions and 1 deletions
|
@ -21,13 +21,15 @@ double usecTimestampNow() {
|
|||
}
|
||||
|
||||
float randFloat () {
|
||||
return (rand()%10000)/10000.f;
|
||||
return (rand() % 10000)/10000.f;
|
||||
}
|
||||
|
||||
void outputBits(char byte) {
|
||||
printf("%d: ", byte);
|
||||
|
||||
for (int i = 0; i < 8; i++) {
|
||||
printf("%d", byte >> (7 - i) & 1);
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
}
|
Loading…
Reference in a new issue