mr.exodia a3ec27853c PROJECT: updated BeaEngine (r8L -> r8b)
DBG: updated internal function 'valfromstring' to be more friendly
DBG: updated valfromstring to only look for the value of registers/memory/addr (this is faster)
2014-02-22 15:34:34 +01:00

15 lines
516 B
C

#ifndef _MATH_H
#define _MATH_H
#include "_global.h"
int mathisoperator(char ch);
void mathformat(char* text);
bool mathcontains(const char* text);
bool mathhandlebrackets(char* expression, bool silent, bool baseonly);
bool mathfromstring(const char* string, uint* value, bool silent, bool baseonly, int* value_size, bool* isvar);
bool mathdounsignedoperation(char op, uint left, uint right, uint* result);
bool mathdosignedoperation(char op, sint left, sint right, sint* result);
#endif // _MATH_H