Commit 4be96d35 authored by Kopp Markus's avatar Kopp Markus Committed by Alexander Hirsch
Browse files

Fix float / int literals in example inputs

parent 1ccb2a6f
......@@ -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)
......
......@@ -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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment