Skip to content

Commit

Permalink
Bump lib muqsit/arithmexp to 0.1.26
Browse files Browse the repository at this point in the history
Introduced `Parser::getOperatorManager()` ([`4ff725f`](Muqsit/arithmexp@4ff725f))
	Replaced `Parser::getBinaryOperatorRegistry()` with `Parser::getOperatorManager()->getBinaryRegistry()`
	Replaced `Parser::getUnaryOperatorRegistry()` with `Parser::getOperatorManager()->getUnaryRegistry()`
Fixed a few cases where optimizers did not account for INF and NAN ([#16](Muqsit/arithmexp#16)) ([`1ef49eb`](Muqsit/arithmexp@1ef49eb), [`db1df91`](Muqsit/arithmexp@db1df91), [`03440ab`](Muqsit/arithmexp@03440ab), [`b9dd31e`](Muqsit/arithmexp@b9dd31e), [`3c9b8a0`](Muqsit/arithmexp@3c9b8a0), [`14442ca`](Muqsit/arithmexp@14442ca), [`082ccf3`](Muqsit/arithmexp@082ccf3))
Fixed operator precedence of unary operators being greater than exponentiation ([#17](Muqsit/arithmexp#17)) ([`4ff725f`](Muqsit/arithmexp@4ff725f))
Fixed division by zero with zero `0 / 0` returning `int(0)` with optimizations ([`1672970`](Muqsit/arithmexp@1672970))
Function properties (commutativity and determinism) are governed by function flags instead of boolean properties (3e34845)
	See newer examples on the [wiki](https://github.com/Muqsit/arithmexp/wiki) about how to register custom binary operators, unary operators, and functions
Implemented idempotent functions ([`bd08609`](Muqsit/arithmexp@bd08609))
  • Loading branch information
NhanAZ committed Nov 4, 2022
1 parent 2594b0f commit b4ec626
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .poggit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ projects:
path: ""
libs:
- src: muqsit/arithmexp/arithmexp
version: 0.1.25
version: 0.1.26
- src: nhanaz-pm-pl/libBedrock/libBedrock
version: 0.0.2
...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# General
**Execute math expressions in the server or console on PocketMine-MP servers with `/calculator` command**

![EgImg](https://user-images.githubusercontent.com/60387689/197398783-4e794b8f-2431-4b55-9390-9229618bb6cf.png)
![EgImg](https://user-images.githubusercontent.com/60387689/199899361-3511a439-e121-42e6-bb65-0d96f7d63196.png)

# Arithmetic Operators
- List of supported arithmetic operators: `/`, `*`, `+`, `-`, `**`, `%`.
Expand Down

0 comments on commit b4ec626

Please sign in to comment.