langatator/src/number_parsing.h

11 lines
303 B
C
Raw Normal View History

2022-04-29 10:30:44 +00:00
#ifndef NB_PARSING_H_
#define NB_PARSING_H_
int is_char_numeral(char candidate);
int integer_pow(int base, int exponent);
int parse_clean_positive_integer(int inputStrLen, char* inputStr, int* result);
int parse_int(char* inputStr, int* result);
int parse_float(char* inputStr, float* result);
#endif