Fix float / int literals in example inputs
This commit is contained in:
parent
1ccb2a6f5d
commit
4be96d35a5
@ -2,7 +2,7 @@ void print_2_signals(float[64] signal1, float[64] signal2)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
float j;
|
float j;
|
||||||
j = 1;
|
j = 1.0;
|
||||||
float dec;
|
float dec;
|
||||||
dec = 1.0 / 16.0;
|
dec = 1.0 / 16.0;
|
||||||
while (j > -0.001)
|
while (j > -0.001)
|
||||||
|
@ -30,10 +30,10 @@ int main(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (c){
|
if (c){
|
||||||
f = f * 2;
|
f = f * 2.0;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
f = f * 3;
|
f = f * 3.0;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user