git.samba.org
/
tridge
/
junkcode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tweaks
[tridge/junkcode.git]
/
cvt.c
1
#include <stdio.h>
2
3
main(int argc, char *argv[])
4
{
5
long long x;
6
double d;
7
8
x = atoi(argv[1]);
9
10
d = (double)x;
11
12
printf("%.0f %d\n", (double)x, (int)x);
13
}