123 Commits

Author SHA1 Message Date
Lewis Van Winkle
4e8cc0067a update travis-ci 2021-08-16 12:01:07 -05:00
Lewis Van Winkle
1919652a5d Merge pull request #83 from bavay/master
Fix for ceil/floor on MSVC
2021-08-16 11:59:41 -05:00
Mathias Bavay
96b85c1a77 Fixed for the old issue #34
As I got hit with the same issue when compiling tinyexpr on Windows with QtCreator (that itself was calling Visual C++ 2017 in the background) and realized that there was a solution in the issue's thread but no fix in the source code, I've implemented it (wrapped with ifdef to prevent warnings on other platforms).
2021-08-16 17:55:49 +02:00
Lewis Van Winkle
33626ea2bb Merge pull request #79 from bavay/master
Adding SPDX license identifiers
2021-06-17 12:54:02 -05:00
Mathias Bavay
85733a1ef2 Added an SPDX license identifier 2021-06-17 15:57:22 +02:00
Mathias Bavay
a4bd8861dd Added SPDX license identifier 2021-06-17 15:56:40 +02:00
Lewis Van Winkle
6b9b7275e5 fix for possible out-of-bounds memory access in repl 2021-05-23 18:31:24 -05:00
Lewis Van Winkle
61af1dd24c fully allow upper-case letters in variable names 2021-03-03 16:20:38 -06:00
Lewis Van Winkle
8d7ebbba53 Merge pull request #74 from giacomo-b/ctype
Accepted upper case letters
2021-03-03 16:15:16 -06:00
giacomo-b
1ca3587ffa Accepted upper case letters
Introduced isalpha() from <ctype.h> to check if a character belongs to the alphabet. Previously, only lower case letters were allowed.
2021-03-03 20:08:39 +01:00
Lewis Van Winkle
779052b6ba Merge pull request #70 from codeplea/c99
update readme to c99
2020-10-19 13:05:30 -05:00
Lewis Van Winkle
d3657f97ff update readme to c99 2020-10-19 13:04:42 -05:00
Lewis Van Winkle
f24185fed1 Merge pull request #67 from mortie/feature/repl
Add a simple REPL
2020-10-13 13:04:02 -05:00
Martin Dørum
7e5358cc52 add repl-readline target 2020-10-13 19:38:29 +02:00
Martin Dørum
74e451e7be repl: use fgets by default 2020-10-13 08:13:27 +02:00
Martin Dørum
a4f41522fe repl: fgets-based readline alternative 2020-10-13 00:02:18 +02:00
Martin Dørum
cf49088b99 add simple REPL 2020-10-12 23:43:54 +02:00
Lewis Van Winkle
ff5922155a Merge pull request #66 from timgates42/bugfix_typo_third
docs: fix simple typo, thrid -> third
2020-10-10 18:55:53 -05:00
Tim Gates
f298485924 docs: fix simple typo, thrid -> third
There is a small typo in README.md.

Should read `third` rather than `thrid`.
2020-10-11 10:12:43 +11:00
Lewis Van Winkle
2ef22d228f remove ansi flag for compiler 2020-10-02 17:42:09 -05:00
Lewis Van Winkle
d0e5947f72 Merge pull request #65 from codeplea/temp
add test cases, general cleanup
2020-10-02 17:30:19 -05:00
Lewis Van Winkle
69396f7861 renamed test to smoke 2020-10-02 17:28:35 -05:00
Lewis Van Winkle
a8f9bd99c2 extra test cases and general cleanup 2020-10-02 17:27:26 -05:00
Lewis Van Winkle
4178a99516 Merge pull request #64 from codeplea/hcomment
fix header guard comment
2020-10-02 17:20:20 -05:00
Lewis Van Winkle
cc5fb46b62 fix header guard comment 2020-10-02 17:19:55 -05:00
Lewis Van Winkle
0028d03082 Merge pull request #51 from bavay/master
CLang: macro name is a reserved identifier
2020-10-02 17:17:17 -05:00
Mathias Bavay
c943941b24 CLang: macro name is a reserved identifier
Fixing CLang's warning: macro name is a reserved identifier [-Wreserved-id-macro] . According to https://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html, a global name should not start with an underscore.
2019-04-26 18:14:02 +02:00
Lewis Van Winkle
ffb0d41b13 year bump 2018-05-10 21:40:53 -05:00
Lewis Van Winkle
f4306fc253 Merge pull request #35 from nicolasdanet/master
Avoid fall through warnings
2018-05-10 21:37:39 -05:00
nicolasdanet
0562ea39f4 Avoid fall through warnings 2018-05-09 07:44:42 +02:00
Lewis Van Winkle
c9517c8884 Merge pull request #36 from EvilPudding/master
Fixed warning when compiling with strict prototypes
2018-05-08 23:13:28 -05:00
EvilPudding
6617027774 Fixed warning when compiling with strict prototypes 2018-05-09 00:35:28 +01:00
Lewis Van Winkle
9476568b69 Added contributing guidelines 2017-04-27 15:43:53 -05:00
Lewis Van Winkle
e6a7888440 Merge pull request #25 from LelixSuper/fix-makefile
Fix delete command and add .PHONY target in Makefile
2017-04-17 00:30:55 -05:00
LelixSuper
310d61f45b Add .PHONY target in Makefile 2017-04-14 15:53:15 +02:00
LelixSuper
ff5e23ff66 Fix delete command in Makefile 2017-04-14 15:52:52 +02:00
Lewis Van Winkle
bc132d5715 Merge branch 'master' of https://github.com/codeplea/tinyexpr 2017-04-03 13:07:48 -05:00
Lewis Van Winkle
ce9d1e5d4e fixed compiler warning 2017-04-03 13:07:32 -05:00
Lewis Van Winkle
b585591f12 Merge pull request #24 from codeplea/comb
Comb
2017-04-03 13:02:03 -05:00
Lewis Van Winkle
9f691891a8 fixed typos 2017-04-03 12:59:02 -05:00
Lewis Van Winkle
c5f573eaeb added documentation for new functions 2017-04-03 12:58:15 -05:00
Lewis Van Winkle
1f54148850 Fixed headings for github. 2017-04-03 12:51:41 -05:00
Lewis Van Winkle
1a81982f2a Merge pull request #19 from chendotjs/comb
add ncr and npr
2017-03-27 12:49:36 -05:00
chendotjs
f11d02f9a9 add ncr and npr 2017-03-26 22:30:08 +08:00
chendotjs
8cc2313ea4 fix overflow check bug 2017-03-16 20:50:10 +08:00
Lewis Van Winkle
625ba1f1f0 Merge pull request #18 from chendotjs/master
add fac and infs/combinatoric test
2017-03-15 13:21:16 -05:00
chendotjs
94fe42391c add fac and infs/combinatoric test 2017-03-15 18:25:37 +08:00
Lewis Van Winkle
5dc1f2bcdc Merge pull request #16 from nicolasdanet/master
Avoid missing initializer warnings
2017-02-08 09:08:18 -06:00
nicolasdanet
24b8c41f8b Avoid missing initializer warnings 2017-02-07 10:43:32 +01:00
Lewis Van Winkle
ebac571f8a license 2016-12-21 12:21:18 -06:00