From 64ef79772783a44ae25bdfa4364e20152e854e2e Mon Sep 17 00:00:00 2001 From: Jacob Date: Sat, 7 Dec 2024 09:16:17 -0500 Subject: [PATCH] Things. --- src/lexer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lexer.c b/src/lexer.c index 06bc4c9..74dd64f 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -26,6 +26,7 @@ double acc_float(int c) { if (*inp == '.') { char* oinp = inp++; while (isdigit(*inp)) { + // TODO: // Accumulate as int, divide once at end. value = value + (((double)(*inp - '0'))/pow(10.0l, (double)(inp-oinp))); // Accumulate value. inp++;