aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/integr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/integr.c')
-rw-r--r--test/c/integr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/c/integr.c b/test/c/integr.c
index 882325c3..cd0521f5 100644
--- a/test/c/integr.c
+++ b/test/c/integr.c
@@ -25,7 +25,11 @@ double test(int n)
int main(int argc, char ** argv)
{
int n; double r;
+#ifdef __K1C__
+ if (argc >= 2) n = atoi(argv[1]); else n = 100000;
+#else
if (argc >= 2) n = atoi(argv[1]); else n = 10000000;
+#endif
r = test(n);
printf("integr(square, 0.0, 1.0, %d) = %g\n", n, r);
return 0;