From c748aedbc265fdc7d62768d368161a1f1d88b9a4 Mon Sep 17 00:00:00 2001 From: nic-gaffney Date: Sat, 30 Sep 2023 00:18:27 -0500 Subject: spacing --- std/stdlib.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'std/stdlib.c') diff --git a/std/stdlib.c b/std/stdlib.c index ed848c3..8636f11 100644 --- a/std/stdlib.c +++ b/std/stdlib.c @@ -41,6 +41,9 @@ int as_int(float x) { return (int) x; } +float as_float(int x) { + return (float) x; +} bool sequals(char* a, char* b) { if (strlen(a) != strlen(b)) { return false; -- cgit v1.2.3