Making: math interpreter. Need to fix printf %f
This commit is contained in:
13
src/libc/ctype.c
Normal file
13
src/libc/ctype.c
Normal 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';
|
||||
}
|
||||
Reference in New Issue
Block a user