projects
/
debian
/
yforth
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix things lintian whines about
[debian/yforth]
/
division.c
1
#include <stdio.h>
2
#include <math.h>
3
#include <assert.h>
4
5
main() {
6
FILE *f = fopen("div.h", "wt");
7
assert(f != NULL);
8
fprintf(f, "#define FLOORED_DIVISION %d\n", (-10 % 7) > 0 ? 1 : 0);
9
fclose(f);
10
return 0;
11
}