Initial commit

This commit is contained in:
Lewis Van Winkle
2016-01-21 14:36:59 -06:00
commit ec3dde1e24
14 changed files with 1316 additions and 0 deletions

10
example.c Normal file
View File

@@ -0,0 +1,10 @@
#include "tinyexpr.h"
#include <stdio.h>
int main(int argc, char *argv[])
{
const char *c = "sqrt(5^2+7^2+11^2+(8-2)^2)";
double r = te_interp(c, 0);
printf("The expression:\n\t%s\nevaluates to:\n\t%f\n", c, r);
return 0;
}