summaryrefslogtreecommitdiff
path: root/prelude.c
diff options
context:
space:
mode:
Diffstat (limited to 'prelude.c')
-rw-r--r--prelude.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/prelude.c b/prelude.c
index bb345c4..22d01c0 100644
--- a/prelude.c
+++ b/prelude.c
@@ -1,4 +1,7 @@
-int builtin_divInt(int x, int y) {
+#include <stdlib.h>
+#include <stdint.h>
+
+/*int builtin_divInt(int x, int y) {
return
(x > 0 && y < 0) ? (x - 1) / y - 1
: (x < 0 && y > 0) ? (x + 1) / y - 1
@@ -10,4 +13,4 @@ int builtin_modInt(int x, int y) {
(x > 0 && y < 0) ? (x - 1) % y + y + 1
: (x < 0 && y > 0) ? (x + 1) % y + y - 1
: x % y;
-}
+}*/