diff options
Diffstat (limited to 'prelude.c')
-rw-r--r-- | prelude.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; -} +}*/ |