Fix float / int literals in example inputs

This commit is contained in:
Markus Kopp 2019-05-17 15:16:28 +02:00 committed by Alex Hirsch
parent 1ccb2a6f5d
commit 4be96d35a5
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ void print_2_signals(float[64] signal1, float[64] signal2)
{
int i;
float j;
j = 1;
j = 1.0;
float dec;
dec = 1.0 / 16.0;
while (j > -0.001)

View File

@ -30,10 +30,10 @@ int main(){
}
}
if (c){
f = f * 2;
f = f * 2.0;
}
else{
f = f * 3;
f = f * 3.0;
}
return 0;
}