Commit graph

25 commits

Author SHA1 Message Date
bajb
9acdc3bb57 Specifically check for 0 in division to allow for negative operations 2016-04-01 14:52:34 +01:00
bajb
5d19d0660c Avoid division by zero 2016-04-01 14:29:41 +01:00
Alexander Kiryukhin
e28fb4d7aa Merge pull request #12 from waffle-iron/master
waffle.io Badge
2015-09-29 15:52:35 +03:00
Making GitHub Delicious.
e0eb2d9586 add waffle.io badge 2015-09-29 06:42:26 -06:00
NeonXP
abc629a10b + Tests for scientific notation by AntonStoeckl 2013-09-06 16:43:45 +04:00
Alexander Kiryukhin
a0f031dc23 Merge pull request #6 from AntonStoeckl/master
Make TokenNumber aware of scientific notation
2013-09-06 05:39:10 -07:00
Anton Stöckl
31f4bc044d Make TokenNumber aware of scientific notation
Update the regex so scientific notation numbers work, e.g.:
'1 + 3.5E-8'
'1 + 3.5E8'
2013-09-06 10:05:10 +02:00
Alexander Kiryukhin
10c04a966f Update README.md 2013-09-06 08:35:55 +04:00
Alexander Kiryukhin
591b8b61c9 Update README.md 2013-09-06 08:32:03 +04:00
Alexander Kiryukhin
74cb31c8be Update README.md 2013-09-06 08:26:53 +04:00
NeonXP
46173b180f ~ Fix PHP 5.3 compatibility 2013-09-06 08:23:58 +04:00
NeonXP
5ce6a3ca43 ~ Fix PHP 5.3 compatibility 2013-09-06 08:21:31 +04:00
NeonXP
9cef8dbc79 + Added cache, which speeds up the repetitive calculations
+ Returned variables, because they need for cached expressions
2013-09-06 08:19:02 +04:00
NeonXP
4b08ec4b4d ~ PHP CS fixer 2013-09-06 05:43:22 +04:00
NeonXP
9cdc34290a Mass refactoring
Some changes:
+ Added support of functions with multiple arguments
+ Added some default function (min, max, avg). just example of multiple arguments :)
- Removed variables support (I think they pointless)
~ All tokens now in individual classes
~ Parsing based on regular expressions
~ Fix negative numbers
~ Fix grouping with brackets
2013-09-06 05:42:09 +04:00
Alexander Kiryukhin
f172123a0d Merge pull request #3 from ZhukV/master
Fix to PSR standart, fix tokenizer, fix function executor.
2013-08-03 04:15:02 -07:00
zhukv
eb9c365161 Fix to PSR standart, fix tokenizer, fix function executor. 2013-08-03 13:47:47 +03:00
Alexander 'NeonXP' Kiryukhin
253fb694a3 + Some comments 2013-03-17 07:30:25 +04:00
Alexander 'NeonXP' Kiryukhin
12ee083b5e Merge remote-tracking branch 'origin/master' 2013-03-17 07:26:53 +04:00
Alexander 'NeonXP' Kiryukhin
0779c4f3e2 + Added token parser
+ Added functions support
~ Rewrited most of code
2013-03-17 07:26:33 +04:00
Alexander Kiryukhin
a561541b3f Update composer.json 2013-03-14 04:41:01 +04:00
Alexander Kiryukhin
2df6097e80 Update README.md 2013-03-14 04:36:29 +04:00
Alexander Kiryukhin
d26b482b85 Update README.md 2013-03-14 04:36:17 +04:00
Alexander Kiryukhin
5b5fb4ff70 Update composer.json 2013-03-14 04:32:43 +04:00
NeonXP
a8bdd54346 Initial commit 2013-03-14 04:27:37 +04:00