This commit is contained in:
twinaphex
2014-03-30 22:15:17 +02:00
commit 7e6caac57d
370 changed files with 90364 additions and 0 deletions

24
src/fir/toh.c Normal file
View File

@@ -0,0 +1,24 @@
#include <stdio.h>
#define MAX 512
main()
{
char buf[256];
int count=0;
while(fgets(buf,256,stdin)>0)
{
double p;
if(sscanf(buf,"%lf",&p)==1)
{
p*=65536*16;
printf("%ld,\n",(long)p);
count++;
if(count==MAX) break;
}
}
}