codeplea / tinyexpr

tiny recursive descent expression parser, compiler, and evaluation engine for math expressions
https://codeplea.com/tinyexpr
zlib License
1.61k stars 245 forks source link

Support for bigger whole numbers (long long) #84

Open Catishere opened 3 years ago

Catishere commented 3 years ago

i'd love to have math operations that operate with big integers.

Blake-Madden commented 8 months ago

In case this helps, with the c++ version at:

https://github.com/Blake-Madden/tinyexpr-plusplus

if you compile with TE_LONG_DOUBLE, that will tell the parser to use long double internally. This will hold either 53-bit (MSVC) or 64-bit (GCC, Clang) integer values.