start converting numbers to rational numbers
This commit is contained in:
@@ -2,13 +2,17 @@
|
||||
#define CLONESTRING_HNUMBER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
struct number {
|
||||
uint8_t sign;
|
||||
uint64_t numerator;
|
||||
int64_t numerator;
|
||||
uint64_t denominator;
|
||||
};
|
||||
|
||||
struct number translateNumber(char *code);
|
||||
|
||||
void initNumber();
|
||||
void cleanupNumber();
|
||||
|
||||
#endif // NUMBER_H
|
||||
|
||||
Reference in New Issue
Block a user