]> git.sur5r.net Git - cc65/blobdiff - test/ref/divmod.c
remote TABs in doc/ and test/
[cc65] / test / ref / divmod.c
index 8fcc951a6ee2f44b07ec63564e9103b8282048fb..e5535ebc46065c54c1c3a858d56bf9e48f43b12f 100644 (file)
@@ -8,31 +8,31 @@
 
 void printc(signed char a,signed char b){
 signed char x=a/b,y=a%b,z=a*b;
-       printf("%3d,%3d is %3d,%3d,%3d\n",a,b,x,y,z);
+        printf("%3d,%3d is %3d,%3d,%3d\n",a,b,x,y,z);
 }
 void prints(short a,short b){
 short x=a/b,y=a%b,z=a*b;
-       printf("%3d,%3d is %3d,%3d,%3d\n",a,b,x,y,z);
+        printf("%3d,%3d is %3d,%3d,%3d\n",a,b,x,y,z);
 }
 void printl(long a,long b){
 long x=a/b,y=a%b,z=a*b;
-       printf("%3ld,%3ld is %3ld,%3ld,%3ld\n",a,b,x,y,z);
+        printf("%3ld,%3ld is %3ld,%3ld,%3ld\n",a,b,x,y,z);
 }
 
 int main(void) {
-       printl( 3,-2);
-       printl(-3,-2);
-       printl(-3, 2);
-       printl( 3, 2);
-       printf("-\n");
-       prints( 3,-2);
-       prints(-3,-2);
-       prints(-3, 2);
-       prints( 3, 2);
-       printf("-\n");
-       printc( 3,-2);
-       printc(-3,-2);
-       printc(-3, 2);
-       printc( 3, 2);
-       return 0;
+        printl( 3,-2);
+        printl(-3,-2);
+        printl(-3, 2);
+        printl( 3, 2);
+        printf("-\n");
+        prints( 3,-2);
+        prints(-3,-2);
+        prints(-3, 2);
+        prints( 3, 2);
+        printf("-\n");
+        printc( 3,-2);
+        printc(-3,-2);
+        printc(-3, 2);
+        printc( 3, 2);
+        return 0;
 }