Making: math interpreter. Need to fix printf %f

This commit is contained in:
xamidev
2024-08-06 13:43:01 +02:00
parent f05347f73b
commit fc17e5eade
8 changed files with 393 additions and 53 deletions

13
src/libc/ctype.c Normal file
View File

@@ -0,0 +1,13 @@
#include "stdint.h"
bool isdigit(char c)
{
return c >= '0' && c <= '9';
}
bool isspace(char c)
{
return c == ' ' || c == '\t' || c == '\n' || c == '\v' || c == '\f' || c == '\r';
}