expr icon indicating copy to clipboard operation
expr copied to clipboard

Fast and lightweight math expression evaluator in C99

Results 6 expr issues
Sort by recently updated
recently updated
newest added

This is not an issue, rather a question. Why is this library implemented as a .h file and not in a .c file? Are there any reason for this excluding...

Hi, https://github.com/zserge/expr/blob/5e7d72c39012a7aaafcf592e6e7c08d54751ee29/expr.h#L370 If the first expression returns a NAN, then the second element is taken. If the second element is NAN, then a NAN is returned, otherwise 0. From logical...

There seems to be issues with anonymous unions and also with casting function pointers to void* here are the flags I use CFLAGS:= -Wfatal-errors -pedantic -Wall -Wextra -Werror -std=c99 While...

Hi. Firstly, thanks for this great job! So, I noticed the library doesn't contains any error handling, and this would be very useful to find errors in complex expressions. Edit:...

Looks like the return type of `expr_eval()` is `float` which is 32 bit wide on my 64 bit system. Is it possible to use `double` which is of 64 bits...