Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alexander Hirsch
703602-Compiler-Construction
Commits
4be96d35
Commit
4be96d35
authored
May 17, 2019
by
Kopp Markus
Committed by
Alexander Hirsch
May 19, 2019
Browse files
Fix float / int literals in example inputs
parent
1ccb2a6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
examples/flw/flw.mc
examples/flw/flw.mc
+1
-1
examples/supersyntaxchecker2000/supersyntaxchecker2000.mc
examples/supersyntaxchecker2000/supersyntaxchecker2000.mc
+2
-2
No files found.
examples/flw/flw.mc
View file @
4be96d35
...
...
@@ -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)
...
...
examples/supersyntaxchecker2000/supersyntaxchecker2000.mc
View file @
4be96d35
...
...
@@ -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;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment